install sqlite and sassc from source

This commit is contained in:
Brad Rydzewski 2015-09-30 13:15:28 -07:00
parent 67c00fa6a9
commit b02cee7a0e
3 changed files with 20 additions and 3 deletions

View file

@ -8,8 +8,8 @@ env:
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
script:
- sudo apt-get -y -qq update
- sudo apt-get -y -qq install libsqlite3-dev
- bin/bash contrib/setup-sqlite.sh 1> /dev/null
- bin/bash contrib/setup-sassc.sh 1> /dev/null
- make deps
- make
- make test

16
contrib/setup-sassc.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
set -e
cd /tmp
rm -rf libsass
rm -rf sassc
git clone --depth=1 git://github.com/sass/libsass.git
git clone --depth=1 git://github.com/sass/sassc.git
export SASS_LIBSASS_PATH=/tmp/libsass
cd sassc
make
sudo make install

3
contrib/setup-sqlite.sh Normal file → Executable file
View file

@ -1,4 +1,5 @@
#!/bin/bash
set -e
cd /tmp
@ -8,4 +9,4 @@ cd sqlite-autoconf-3081101
cd sqlite-3.6.421
./configure -prefix=/scratch/usr/local
make
make install
sudo make install