Permalink
Browse files

add 'make examples'

  • Loading branch information...
1 parent 0cc0c15 commit 7ae2d58fe486412a83842a7d64ef52c1b2d508d5 @ry committed Mar 8, 2016
Showing with 7 additions and 1 deletion.
  1. +2 −0 .gitignore
  2. +5 −1 Makefile
View
@@ -7,3 +7,5 @@ v8
.svn
v8worker.test
out/
+examples/commonjs/commonjs
+examples/handle-json/handle-json
View
@@ -4,6 +4,10 @@ target?=native # available: x64.debug, ia32.debug, ia32.release, x64.release
test: v8worker.test
./v8worker.test
+examples: examples/*/*.go examples/*/*.js
+ cd examples/commonjs && go build && ./commonjs
+ cd examples/handle-json && go build && ./handle-json
+
v8.pc: v8
target=$(target) ./build.sh
@@ -25,4 +29,4 @@ distclean: clean
rm -f .gclient .gclient_entries
rm -rf v8/
-.PHONY: install test clean distclean
+.PHONY: install test clean distclean examples

0 comments on commit 7ae2d58

Please sign in to comment.