Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 50 lines (43 sloc) 1.155 kB
afeb354 Initial setup for 0.5 (use eng.git layout)
Mark Cavage authored
1 #
2 # Copyright (c) 2012, Joyent, Inc. All rights reserved.
3 #
4 # Makefile: basic Makefile for template API service
5 #
6 # This Makefile is a template for new repos. It contains only repo-specific
7 # logic and uses included makefiles to supply common targets (javascriptlint,
8 # jsstyle, restdown, etc.), which are used by other repos as well. You may well
9 # need to rewrite most of this file, but you shouldn't need to touch the
10 # included makefiles.
11 #
12 # If you find yourself adding support for new targets that could be useful for
13 # other projects too, you should add these to the original versions of the
14 # included Makefiles (in eng.git) so that other teams can use them too.
15 #
16
17 #
18 # Tools
19 #
20 NPM := npm
21 TAP := ./node_modules/.bin/tap
22
23 #
24 # Files
25 #
26 DOC_FILES = client.md \
27 dn.md \
28 errors.md \
29 examples.md \
30 filters.md
31
32 JS_FILES := $(shell find lib test -name '*.js')
33 JSL_CONF_NODE = tools/jsl.node.conf
34 JSL_FILES_NODE = $(JS_FILES)
35 JSSTYLE_FILES = $(JS_FILES)
36 JSSTYLE_FLAGS = -f tools/jsstyle.conf
37
38 # Repo-specific targets
39 #
40 .PHONY: all
41 all:
b8885d7 @mcavage Version bump
mcavage authored
42 $(NPM) install
17d2d4e @mcavage Documentation and makefile
mcavage authored
43
afeb354 Initial setup for 0.5 (use eng.git layout)
Mark Cavage authored
44 .PHONY: test
15c6e32 @mcavage add logger to del_request test
mcavage authored
45 test:
46 $(NPM) test
17d2d4e @mcavage Documentation and makefile
mcavage authored
47
afeb354 Initial setup for 0.5 (use eng.git layout)
Mark Cavage authored
48 include ./Makefile.deps
49 include ./Makefile.targ
Something went wrong with that request. Please try again.