fix build script

This commit is contained in:
Fluora 2021-06-15 13:21:44 -05:00
parent 5e61461ae8
commit c68f9d2e21
2 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,7 @@ You shouldn't use it at all. If you want to anyway, I can't stop you, but you sh
if you want to actually get work done.
### How do I compile them all at once?
You can run the build.sh script I included, which will try to compile everything in this directory that ends in ".rs", and put
You can run the build.sh script I included, which will try to compile everything in ./src/ that ends in ".rs", and put
all the resulting binaries in ./target/.
### Why Rust?

View File

@ -5,7 +5,6 @@ if ! [ -d target ]; then
fi
for file in src/*.rs; do
if [ "$file" = "src/template.rs" ]; then continue; fi
echo $file
rustc -O $file --out-dir ./target/
done