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) cd $(dirname $0)
usage() usage()

View File

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

View File

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

View File

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

View File

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

View File

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