and again, again, agian...
This commit is contained in:
parent
fe48b95c53
commit
2e42fbd593
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
composer.phar
|
composer.phar
|
||||||
composer.lock
|
composer.lock
|
||||||
vendor/
|
vendor/
|
||||||
|
build/
|
@ -15,6 +15,7 @@ cache:
|
|||||||
directories:
|
directories:
|
||||||
- $HOME/.composer/cache
|
- $HOME/.composer/cache
|
||||||
- vendor
|
- vendor
|
||||||
|
- build
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.4
|
- 5.4
|
||||||
@ -36,9 +37,7 @@ matrix:
|
|||||||
- php: hhvm
|
- php: hhvm
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- cd build
|
|
||||||
- bash build.sh $TASKWARRIOR
|
- bash build.sh $TASKWARRIOR
|
||||||
- cd ..
|
|
||||||
- ln -s build/taskwarrior-$TASKWARRIOR task
|
- ln -s build/taskwarrior-$TASKWARRIOR task
|
||||||
- chmod +x ./task
|
- chmod +x ./task
|
||||||
- ./task --version
|
- ./task --version
|
||||||
|
11
build/build.sh → build.sh
Executable file → Normal file
11
build/build.sh → build.sh
Executable file → Normal file
@ -2,7 +2,15 @@
|
|||||||
|
|
||||||
TASKWARRIOR=$1
|
TASKWARRIOR=$1
|
||||||
|
|
||||||
wget http://taskwarrior.org/download/task-$TASKWARRIOR.tar.gz
|
[ -d build ] || mkdir build
|
||||||
|
|
||||||
|
if [ -f build/taskwarrior-$TASKWARRIOR ]
|
||||||
|
then
|
||||||
|
exit;
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd build
|
||||||
|
wget http://taskwarrior.org/download/task-$TASKWARRIOR.tar.gz || exit
|
||||||
gunzip task-$TASKWARRIOR.tar.gz
|
gunzip task-$TASKWARRIOR.tar.gz
|
||||||
tar xf task-$TASKWARRIOR.tar
|
tar xf task-$TASKWARRIOR.tar
|
||||||
cd task-$TASKWARRIOR
|
cd task-$TASKWARRIOR
|
||||||
@ -11,3 +19,4 @@ make
|
|||||||
cd ..
|
cd ..
|
||||||
cp task-$TASKWARRIOR/src/task ./taskwarrior-$TASKWARRIOR
|
cp task-$TASKWARRIOR/src/task ./taskwarrior-$TASKWARRIOR
|
||||||
sudo rm -Rf task-$TASKWARRIOR*
|
sudo rm -Rf task-$TASKWARRIOR*
|
||||||
|
cd ..
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user