From 530b07138a7d55280bdbf4c9d437ac7f09e7998e Mon Sep 17 00:00:00 2001 From: nobonobo Date: Wed, 27 Nov 2013 09:25:59 +0900 Subject: [PATCH] fix for travisci --- .travis.yaml | 6 +----- Makefile | 7 +++++++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yaml b/.travis.yaml index cb69c83..575d6a1 100644 --- a/.travis.yaml +++ b/.travis.yaml @@ -5,11 +5,7 @@ go: - 1.1 - tip -install: - - git submodule init - - git submodule update - - make - - go install +install: make all script: - go test ./ diff --git a/Makefile b/Makefile index 80d77c6..0ed71f3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,12 @@ # 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 gcc -c src/unqlite.c -I./src -DUNQLITE_ENABLE_THREADS=1 ar rv libunqlite.a unqlite.o