Add bash shebang to .sh scripts

This commit is contained in:
Non 2023-10-05 19:46:03 +13:00 committed by GitHub
parent d540af3043
commit 60b0eeca73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
python3 prebuild.py
SRC=$(find src/ -name "*.cpp")
FLAGS="-std=c++17 -O2 -stdlib=libc++ -Wfatal-errors -Iinclude"

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
python3 prebuild.py
rm -rf web/lib

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
cd c_bindings
rm -rf build
mkdir build

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
python3 prebuild.py
SRC=$(find src/ -name "*.cpp")
clang++ -pg -O1 -std=c++17 -stdlib=libc++ -Wfatal-errors -o main $SRC -Iinclude -ldl

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
python3 prebuild.py
SRC=$(find src/ -name "*.cpp")
clang++ -std=c++17 --coverage -O1 -stdlib=libc++ -Wfatal-errors -o main src2/main.cpp $SRC -Iinclude -ldl