Initial Commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.vscode/
|
||||
3
bin/clang++
Normal file
3
bin/clang++
Normal file
@@ -0,0 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
"$ZIG_PATH"/zig c++ "$@"
|
||||
18
install.sh
Normal file
18
install.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#! /bin/sh
|
||||
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
echo "No arguments supplied"
|
||||
fi
|
||||
|
||||
PREFIX="$1"
|
||||
|
||||
if [ ! -d "$PREFIX" ]; then
|
||||
echo "Error: The path '$PREFIX' does not exist or is not a directory."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SCRIPT_DIR=$(dirname "$0")
|
||||
|
||||
cp "$SCRIPT_DIR/bin/clang" "$PREFIX/bin/clang"
|
||||
cp "$SCRIPT_DIR/bin/clang++" "$PREFIX/bin/clang++"
|
||||
Reference in New Issue
Block a user