Skip to content

Instantly share code, notes, and snippets.

@kazuho
Created December 15, 2014 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kazuho/e945bed08cd3e43f8f69 to your computer and use it in GitHub Desktop.
Save kazuho/e945bed08cd3e43f8f69 to your computer and use it in GitHub Desktop.
picojson #61
$ git diff
diff --git a/Makefile b/Makefile
index 9614780..8b74f04 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,10 @@ prefix=/usr/local
includedir=$(prefix)/include
test:
+ @if [ ! -e .git -a ! -e picotest/picotest.h ] ; then \
+ rmdir picotest ; \
+ git clone --depth 1 https://github.com/h2o/picotest.git ; \
+ fi
$(MAKE) test-core
$(MAKE) test-core TEST_OPTS=-DPICOJSON_USE_INT64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment