Skip to content

Commit b932fd4

Browse files
committed
Add script to download dependencies before buiding
1 parent 0abee85 commit b932fd4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

download_dependencies.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
rm -rf ext
4+
5+
export GIT_TERMINAL_PROMPT=0
6+
7+
echo -n 'Downloading LinkedList ' ; git clone -b v0.1.0 --depth=1 https://github.com/fauzanzaid/Linked-List-in-C ./ext/LinkedList &> /dev/null && { echo 'done' ; } || { echo 'failed' ; exit 1; }
8+
echo -n 'Downloading Token ' ; git clone -b v0.1.0 --depth=1 https://github.com/fauzanzaid/Compiler-Token-in-C ./ext/Token &> /dev/null && { echo 'done' ; } || { echo 'failed' ; exit 1; }

0 commit comments

Comments
 (0)