Permalink
Browse files

Add eng Makefiles

  • Loading branch information...
1 parent d328ae7 commit e96bdce99c1a97d1b61384b3b5a0f21191d760cd @orlandov orlandov committed Jun 28, 2012
Showing with 16 additions and 8 deletions.
  1. +11 −8 Makefile
  2. +5 −0 bin/convertvm
View
@@ -23,15 +23,18 @@ TAP := ./node_modules/.bin/tap
# Files
#
REPO_ROOT = $(shell pwd)
-DOC_FILES = index.restdown boilerplateapi.restdown
-JS_FILES := $(shell ls *.js 2>/dev/null) $(shell find lib -name '*.js' 2>/dev/null)
-JSL_CONF_NODE = tools/jsl.node.conf
-JSL_FILES_NODE = $(JS_FILES)
-JSSTYLE_FILES = $(JS_FILES)
-JSSTYLE_FLAGS = -o indent=4,doxygen,unparenthesized-return=0
+DOC_FILES = index.restdown boilerplateapi.restdown
+JS_FILES := $(shell ls *.js 2>/dev/null) $(shell find lib -name '*.js' 2>/dev/null)
+JSL_CONF_NODE = tools/jsl.node.conf
+JSL_FILES_NODE = $(JS_FILES)
+JSSTYLE_FILES = $(JS_FILES)
+JSSTYLE_FLAGS = -o indent=4,doxygen,unparenthesized-return=0
+
+NODE_PREBUILT_VERSION=v0.6.19
+NODE_PREBUILT_TAG=gz
include ./tools/mk/Makefile.defs
-include ./tools/mk/Makefile.node.defs
+include ./tools/mk/Makefile.node_prebuilt.defs
include ./tools/mk/Makefile.node_deps.defs
include ./tools/mk/Makefile.smf.defs
@@ -72,7 +75,7 @@ release: all deps #docs
include ./tools/mk/Makefile.deps
-include ./tools/mk/Makefile.node.targ
+include ./tools/mk/Makefile.node_prebuilt.targ
include ./tools/mk/Makefile.node_deps.targ
include ./tools/mk/Makefile.smf.targ
include ./tools/mk/Makefile.targ
View
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+DIR=$(cd `dirname $0`/..; pwd)
+
+$DIR/build/node/bin/node ./bin/convertvm.js $*

0 comments on commit e96bdce

Please sign in to comment.