Dump
This commit is contained in:
parent
1ef93799d1
commit
2df9b96765
98 changed files with 30423 additions and 0 deletions
29
scripts/update-fennel.sh
Executable file
29
scripts/update-fennel.sh
Executable file
|
@ -0,0 +1,29 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
libdir=$1
|
||||
release=$2
|
||||
|
||||
if [ "$#" = 0 ]; then
|
||||
echo -e "Usage: update-fennel.sh libdir [release]\n\n\
|
||||
Example: ./update-fennel.sh \$(pwd)/../lib/ 1.2.0"
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
cd /tmp/
|
||||
git clone https://github.com/bakpakin/Fennel.git
|
||||
cd Fennel
|
||||
|
||||
|
||||
if [ $release ]
|
||||
then
|
||||
|
||||
git checkout tags/$release
|
||||
fi
|
||||
|
||||
|
||||
make
|
||||
|
||||
cp fennel fennel.lua $libdir
|
||||
|
||||
rm -rf /tmp/Fennel/
|
Loading…
Add table
Add a link
Reference in a new issue