Name: js-handler/node_modules/restify/node_modules/verror/Makefile
| 1: | # |
| 2: | # Copyright (c) 2012, Joyent, Inc. All rights reserved. |
| 3: | # |
| 4: | # Makefile: top-level Makefile |
| 5: | # |
| 6: | # This Makefile contains only repo-specific logic and uses included makefiles |
| 7: | # to supply common targets (javascriptlint, jsstyle, restdown, etc.), which are |
| 8: | # used by other repos as well. |
| 9: | # |
| 10: | |
| 11: | # |
| 12: | # Tools |
| 13: | # |
| 14: | NPM = npm |
| 15: | |
| 16: | # |
| 17: | # Files |
| 18: | # |
| 19: | JS_FILES := $(shell find lib examples tests -name '*.js') |
| 20: | JSL_FILES_NODE = $(JS_FILES) |
| 21: | JSSTYLE_FILES = $(JS_FILES) |
| 22: | JSL_CONF_NODE = jsl.node.conf |
| 23: | |
| 24: | .PHONY: all |
| 25: | all: |
| 26: | $(NPM) install |
| 27: | |
| 28: | .PHONY: test |
| 29: | test: |
| 30: | node tests/tst.inherit.js |
| 31: | node tests/tst.verror.js |
| 32: | node tests/tst.werror.js |
| 33: | @echo all tests passed |
| 34: | |
| 35: | include ./Makefile.targ |
