File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ dependencies :
2
+ cache_directories :
3
+ - jq-1.5
4
+ pre :
5
+ - |
6
+ if [[ ! -d jq-1.5/BUILD ]]; then
7
+ curl -L -fsS https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz | tar -xz
8
+ cd jq-1.5
9
+ ./configure --disable-maintainer-mode --prefix=$PWD/BUILD
10
+ make install-libLTLIBRARIES install-includeHEADERS
11
+ fi
12
+ test :
13
+ post :
14
+ - go build -v cmd/jqrepl.go
15
+ - mv jqrepl $CIRCLE_ARTIFACTS/jqrepl
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ $ make install-libLTLIBRARIES install-includeHEADERS
18
18
/*
19
19
#cgo CFLAGS: -I ${SRCDIR}/../jq-1.5/BUILD/include
20
20
#cgo LDFLAGS: ${SRCDIR}/../jq-1.5/BUILD/lib/libjq.a
21
+ #cgo linux LDFLAGS: -lm
22
+
21
23
22
24
#include <jq.h>
23
25
#include <jv.h>
You can’t perform that action at this time.
0 commit comments