...
This commit is contained in:
19
build.sh
19
build.sh
@@ -1,19 +1,2 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
dotnet build src/lang/Nub.Lang.CLI
|
||||
|
||||
mkdir -p bin-int bin
|
||||
rm -rf bin-int/* bin/*
|
||||
|
||||
nub example
|
||||
|
||||
find bin-int -name '*.s' | while read -r file; do
|
||||
as "$file" -o "bin-int/$(basename "${file}" .s).o"
|
||||
done
|
||||
|
||||
find src/runtime -name '*.s' | while read -r file; do
|
||||
as "$file" -o "bin-int/$(basename "${file}" .s).o"
|
||||
done
|
||||
|
||||
gcc -nostartfiles -o bin/out bin-int/*.o
|
||||
dotnet run --project src/lang/Nub.Lang.CLI/ example
|
||||
Reference in New Issue
Block a user