commit
47fe90bd49
2 changed files with 8 additions and 5 deletions
|
@ -5,11 +5,7 @@ go:
|
|||
- 1.1
|
||||
- tip
|
||||
|
||||
install:
|
||||
- git submodule init
|
||||
- git submodule update
|
||||
- make
|
||||
- go install
|
||||
install: make all
|
||||
|
||||
script:
|
||||
- go test ./
|
||||
|
|
7
Makefile
7
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
|
||||
|
|
Loading…
Reference in a new issue