Shebangs!!

This commit is contained in:
apio 2022-08-03 14:55:04 +00:00
parent 7c130a0d40
commit 3eea369072
6 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#!/usr/bin/env sh
cd $(dirname $0)
usage()

View File

@ -1 +1,2 @@
#!/usr/bin/env sh
cmake --build build --config "${1:-Debug}"

View File

@ -1,3 +1,4 @@
#!/usr/bin/env sh
if [ ! -d build ]
then
mkdir build

View File

@ -1,3 +1,4 @@
#!/usr/bin/env sh
if [ ! -d build ]
then
mkdir build

View File

@ -1,3 +1,4 @@
#!/usr/bin/env sh
cd "$(dirname $0)"/../src/AST
if [ "$1" == "" ]; then

View File

@ -1,6 +1,7 @@
#!/usr/bin/env sh
cd build
if [ "$1" == "" ]
if [ -z "$1" ]
then
cmake --install .
else