You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
302 B
22 lines
302 B
4 years ago
|
# NodeJS binding for Keystone engine. Ingmar Steen
|
||
|
|
||
|
ifndef BUILDDIR
|
||
|
OBJDIR = ./build
|
||
|
else
|
||
|
OBJDIR = $(abspath $(BUILDDIR))/obj/bindings/nodejs
|
||
|
endif
|
||
|
|
||
|
.PHONY: gen_const install clean check
|
||
|
|
||
|
gen_const:
|
||
|
cd .. && python const_generator.py nodejs
|
||
|
|
||
|
install:
|
||
|
npm install ./
|
||
|
|
||
|
clean:
|
||
|
|
||
|
check:
|
||
|
node sample.js
|
||
|
|