Skip to content

Commit d2fa664

Browse files
committed
makefile for simple testing
This is hard to use within Travis-ci.com because that uses build variants.
1 parent b789497 commit d2fa664

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

dev.makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
all: build test-amalgamate
2+
3+
build:
4+
mkdir -p build/debug
5+
cd build/debug; cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_SHARED=OFF -G "Unix Makefiles" ../..
6+
make -C build/debug
7+
8+
# Currently, this depends on include/json/version.h generated
9+
# by cmake.
10+
test-amalgamate: build
11+
python2.7 amalgamate.py
12+
python3.4 amalgamate.py
13+
14+
.PHONY: build

0 commit comments

Comments
 (0)