mirror of
https://github.com/jimeh/node-base58.git
synced 2026-02-19 07:36:40 +00:00
25 lines
418 B
Makefile
25 lines
418 B
Makefile
NPM_EXECUTABLE_HOME := node_modules/.bin
|
|
PATH := ${NPM_EXECUTABLE_HOME}:${PATH}
|
|
|
|
SOURCE = ./src
|
|
TARGET = ./lib
|
|
|
|
REPORTER = spec
|
|
TEST_DIR = ./test
|
|
TEST_FILES = *_test.coffee
|
|
|
|
build:
|
|
coffee -o $(TARGET) -c $(SOURCE)
|
|
|
|
watch:
|
|
coffee -o $(TARGET) -cw $(SOURCE)
|
|
|
|
test:
|
|
mocha --reporter $(REPORTER) \
|
|
--compilers coffee:coffee-script \
|
|
$(shell find $(TEST_DIR) -name $(TEST_FILES))
|
|
|
|
|
|
.SILENT:
|
|
.PHONY: build watch test
|