better cmake
This commit is contained in:
parent
e6f61c9d9f
commit
c6bd4e519b
|
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo "cleaning"
|
echo "cleaning"
|
||||||
cmake --build ./build --config Release --target clean -j 4 --
|
cmake -DCMAKE_BUILD_TYPE=Release .
|
||||||
|
cmake --build ./ --target clean -j 4 --
|
||||||
echo "building ml"
|
echo "building ml"
|
||||||
cmake --build ./build --config Release --target all -j 4 --
|
cmake --build ./ --target all -j 4 --
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "copying lsp files"
|
echo "copying lsp files"
|
||||||
|
|
@ -12,13 +13,13 @@ cp stdlib/*.lsp /usr/local/var/mlisp/
|
||||||
echo "copying doc files"
|
echo "copying doc files"
|
||||||
cp doc/*.md /usr/local/var/mlisp/
|
cp doc/*.md /usr/local/var/mlisp/
|
||||||
echo "copying ml file"
|
echo "copying ml file"
|
||||||
cp ./build/ml /usr/local/bin/ml
|
mv ./ml /usr/local/bin/ml
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "if syntax has changed you may use"
|
echo "if syntax has changed you may use"
|
||||||
echo "cp utils/Lisp.tmLanguage ~/.vscode/extensions/mattn.lisp-0.1.12/syntaxes/"
|
echo "cp utils/Lisp.tmLanguage ~/.vscode/extensions/mattn.lisp-0.1.12/syntaxes/"
|
||||||
echo "or"
|
|
||||||
echo "cp utils/Lisp.tmLanguage ~/.vscode/extensions/mattn.lisp-0.1.12/syntaxes/"
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
ml -v
|
ml -v
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue