-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81f8d76
commit fdbc3fe
Showing
9 changed files
with
101 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,6 @@ liamc/src/Makefile | |
liamc/tests/out.cpp | ||
liamc/out.cpp | ||
**/build-debug/ | ||
*.exe | ||
*.exe | ||
liamc/release | ||
**/Makefile |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
release: | ||
./vendor/premake5-mac gmake | ||
mkdir release | ||
|
||
mkdir release/win_64 | ||
make config=release_win64 | ||
mv bin/liamc/liamc release/win_64 | ||
|
||
mkdir release/macos | ||
make config=release_macos | ||
mv bin/liamc/liamc release/macos | ||
|
||
mkdir release/linux_64 | ||
make config=release_linux64 | ||
mv bin/liamc/liamc release/linux_64 | ||
|
||
cp -r stdlib release/win_64 | ||
cp -r stdlib release/macos | ||
cp -r stdlib release/linux_64 | ||
|
||
format: | ||
@find . -type f \( -name "*.h" -or -name "*.cpp" \) | xargs clang-format -i --style=file:".clang-format" | ||
|
||
build: | ||
@./bin/liamc/liamc --stdlib="stdlib" --in="main.liam" -t | ||
|
||
run: build | ||
@clang++ -I "stdlib/include" -std=c++20 -o out.exe out.cpp | ||
@./out.exe | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters