Merge pull request #5 from nobonobo/develop

fix for travisci
This commit is contained in:
irieda 2013-11-26 16:27:15 -08:00
commit 47fe90bd49
2 changed files with 8 additions and 5 deletions

View file

@ -5,11 +5,7 @@ go:
- 1.1 - 1.1
- tip - tip
install: install: make all
- git submodule init
- git submodule update
- make
- go install
script: script:
- go test ./ - go test ./

View file

@ -1,5 +1,12 @@
# for GNU make # for GNU make
all: libunqlite.a
go build
src/unqlite.c:
git submodule init
git submodule update
libunqlite.a: src/unqlite.c src/unqlite.h libunqlite.a: src/unqlite.c src/unqlite.h
gcc -c src/unqlite.c -I./src -DUNQLITE_ENABLE_THREADS=1 gcc -c src/unqlite.c -I./src -DUNQLITE_ENABLE_THREADS=1
ar rv libunqlite.a unqlite.o ar rv libunqlite.a unqlite.o