buildinx script update

This commit is contained in:
2022-01-11 00:05:31 +01:00
parent 8124724bca
commit fce393d77c
2 changed files with 3 additions and 46 deletions

View File

@@ -1,15 +1,15 @@
#!/bin/sh
echo "cleaning"
/usr/bin/cmake --build /home/ubuntu/mlisp/build --config Release --target clean -j 4 --
cmake --build ./build --config Release --target clean -j 4 --
echo "building ml"
/usr/bin/cmake --build /home/ubuntu/mlisp/build --config Release --target all -j 4 --
cmake --build ./build --config Release --target all -j 4 --
echo ""
echo "copying lsp files"
cp stdlib/*.lsp /usr/local/var/mlisp/
echo "copying ml file"
cp /home/ubuntu/mlisp/build/ml /usr/local/bin/ml
cp ./build/ml /usr/local/bin/ml
echo ""
echo "if syntax has changed you may use"