make test added

This commit is contained in:
nobonobo 2013-11-28 21:18:59 +09:00
parent e1f8c54a80
commit fa5c12c96e
2 changed files with 18 additions and 3 deletions

View file

@ -2,9 +2,11 @@ language: go
go: go:
- 1.1 - 1.1
- tip
install: install:
- go get github.com/r7kamura/gospel - go get github.com/r7kamura/gospel
- make all - make install
script: go test ./ script:
- make test

View file

@ -1,8 +1,21 @@
# for GNU make # for GNU make
.PHONY: all build test clean
all: libunqlite.a all: build
build: libunqlite.a
go build
install:
go install go install
clean:
rm -f libunqlite.a
rm -rf src/*
test:
go test ./
src/unqlite.c: src/unqlite.c:
git submodule init git submodule init
git submodule update git submodule update