diff --git a/examples/build.sh b/examples/build.sh index a175add..84b53d1 100755 --- a/examples/build.sh +++ b/examples/build.sh @@ -1,11 +1,15 @@ set -e +pushd ../compiler + dotnet build -c Release +popd + pushd core -dotnet run --project ../../compiler sys.nub print.nub --type=lib + time ../../compiler/bin/Release/net9.0/Compiler sys.nub print.nub --type=lib popd pushd program -dotnet run --project ../../compiler main.nub ../core/.build/out.nublib + time ../../compiler/bin/Release/net9.0/Compiler main.nub ../core/.build/out.nublib popd ./program/.build/out \ No newline at end of file