make test added
This commit is contained in:
parent
e1f8c54a80
commit
fa5c12c96e
2 changed files with 18 additions and 3 deletions
|
@ -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
|
||||||
|
|
15
Makefile
15
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue