mirror of
https://github.com/jimeh/node-base58.git
synced 2026-02-19 07:36:40 +00:00
Initial import
This commit is contained in:
24
Makefile
Normal file
24
Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
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
|
||||
Reference in New Issue
Block a user