Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 278 lines (214 sloc) 8.245 kb
e493b29 @bnoordhuis build: respect --debug configure switch
bnoordhuis authored
1 -include config.mk
2
14b04b0 @ry Remove SCONS deprecate WAF
ry authored
3 BUILDTYPE ?= Release
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
4 PYTHON ?= python
ea50ebd @skenqbx build: support make install "DESTDIR=/path"
skenqbx authored
5 DESTDIR ?=
90ab079 @ry Use --jobs=1 with WAF
ry authored
6
8656c26 @isaacs Fix #3761 build: Default to V=1
isaacs authored
7 # Default to verbose builds.
8 # To do quiet/pretty builds, run `make V=` to set V to an empty string,
9 # or set the V environment variable to an empty string.
10 V ?= 1
11
f89beaf @bnoordhuis build: compile release build too if BUILDTYPE=Debug
bnoordhuis authored
12 # BUILDTYPE=Debug builds both release and debug builds. If you want to compile
13 # just the debug build, run `make -C out BUILDTYPE=Debug` instead.
10d92b3 @ry saner targets
ry authored
14 ifeq ($(BUILDTYPE),Release)
15 all: out/Makefile node
16 else
f89beaf @bnoordhuis build: compile release build too if BUILDTYPE=Debug
bnoordhuis authored
17 all: out/Makefile node node_g
10d92b3 @ry saner targets
ry authored
18 endif
19
bb8f734 @ry Fix make targets so they detect changes
ry authored
20 # The .PHONY is needed to ensure that we recursively use the out/Makefile
21 # to check for changes.
22 .PHONY: node node_g
10d92b3 @ry saner targets
ry authored
23
21dd53f @ry Makefile: Don't force user to run ./configure first
ry authored
24 node: config.gypi
8656c26 @isaacs Fix #3761 build: Default to V=1
isaacs authored
25 $(MAKE) -C out BUILDTYPE=Release V=$(V)
bb8f734 @ry Fix make targets so they detect changes
ry authored
26 ln -fs out/Release/node node
10d92b3 @ry saner targets
ry authored
27
21dd53f @ry Makefile: Don't force user to run ./configure first
ry authored
28 node_g: config.gypi
8656c26 @isaacs Fix #3761 build: Default to V=1
isaacs authored
29 $(MAKE) -C out BUILDTYPE=Debug V=$(V)
bb8f734 @ry Fix make targets so they detect changes
ry authored
30 ln -fs out/Debug/node node_g
ade8cf9 @miksago Build API page into build/doc; simplify doctool.
miksago authored
31
21dd53f @ry Makefile: Don't force user to run ./configure first
ry authored
32 config.gypi: configure
33 ./configure
34
10d92b3 @ry saner targets
ry authored
35 out/Debug/node:
8656c26 @isaacs Fix #3761 build: Default to V=1
isaacs authored
36 $(MAKE) -C out BUILDTYPE=Debug V=$(V)
e5a0fbe @rsms Added support for cross compilation and also fixed DEST_CPU to repres…
rsms authored
37
624f70e @ry GYP: rename options.gypi to config.gypi
ry authored
38 out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp deps/zlib/zlib.gyp deps/v8/build/common.gypi deps/v8/tools/gyp/v8.gyp node.gyp config.gypi
d5f13f6 @bnoordhuis build: use proper python interpreter
bnoordhuis authored
39 $(PYTHON) tools/gyp_node -f make
e5a0fbe @rsms Added support for cross compilation and also fixed DEST_CPU to repres…
rsms authored
40
be23c51 @indutny Implement make install
indutny authored
41 install: all
ea50ebd @skenqbx build: support make install "DESTDIR=/path"
skenqbx authored
42 out/Release/node tools/installer.js install $(DESTDIR)
be23c51 @indutny Implement make install
indutny authored
43
44 uninstall:
7cb0f5f @TooTallNate install: update install.js to use `process.config`
TooTallNate authored
45 out/Release/node tools/installer.js uninstall
1db9a2a @bnoordhuis build: print "not yet implemented" warning on `make install`
bnoordhuis authored
46
14b04b0 @ry Remove SCONS deprecate WAF
ry authored
47 clean:
7abbda8 @isaacs Make rules for release blog post and email message
isaacs authored
48 -rm -rf out/Makefile node node_g out/$(BUILDTYPE)/node blog.html email.md
02c1cb5 @isaacs Makefile: Don't use ** in globs
isaacs authored
49 -find out/ -name '*.o' -o -name '*.a' | xargs rm -rf
e63c782 @isaacs Tests for memory leaks
isaacs authored
50 -rm -rf node_modules
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
51
14b04b0 @ry Remove SCONS deprecate WAF
ry authored
52 distclean:
48d21dd @ry Force makefile generation in gyp
ry authored
53 -rm -rf out
0787287 @TooTallNate build: remove 'config.mk' during `make distclean`
TooTallNate authored
54 -rm -f config.gypi
55 -rm -f config.mk
7abbda8 @isaacs Make rules for release blog post and email message
isaacs authored
56 -rm -rf node node_g blog.html email.md
e63c782 @isaacs Tests for memory leaks
isaacs authored
57 -rm -rf node_modules
15594ea @ry Replace WAF with make/autoconf
ry authored
58
eaf607e @isaacs test: No need for weak in 'make test'
isaacs authored
59 test: all
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
60 $(PYTHON) tools/test.py --mode=release simple message
bae4018 @isaacs Run jslint after tests, not before
isaacs authored
61 PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
62
38f948a @bnoordhuis http: make http2 the default, legacy backend is available with --use-…
bnoordhuis authored
63 test-http1: all
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
64 $(PYTHON) tools/test.py --mode=release --use-http1 simple message
e1bb241 @bnoordhuis test: add targets `test-http2` and `test-all-http2`
bnoordhuis authored
65
d02131d @ry Add 'make test-valgrind'
ry authored
66 test-valgrind: all
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
67 $(PYTHON) tools/test.py --mode=release --valgrind simple message
d02131d @ry Add 'make test-valgrind'
ry authored
68
6a8b5b3 @TooTallNate test: bundle node-weak in test/gc so that it doesn't need to be downl…
TooTallNate authored
69 test/gc/node_modules/weak/build:
e63c782 @isaacs Tests for memory leaks
isaacs authored
70 @if [ ! -f node ]; then make all; fi
6a8b5b3 @TooTallNate test: bundle node-weak in test/gc so that it doesn't need to be downl…
TooTallNate authored
71 ./node deps/npm/node_modules/node-gyp/bin/node-gyp rebuild \
72 --directory="$(shell pwd)/test/gc/node_modules/weak" \
73 --nodedir="$(shell pwd)"
e63c782 @isaacs Tests for memory leaks
isaacs authored
74
6a8b5b3 @TooTallNate test: bundle node-weak in test/gc so that it doesn't need to be downl…
TooTallNate authored
75 test-gc: all test/gc/node_modules/weak/build
e63c782 @isaacs Tests for memory leaks
isaacs authored
76 $(PYTHON) tools/test.py --mode=release gc
77
6a8b5b3 @TooTallNate test: bundle node-weak in test/gc so that it doesn't need to be downl…
TooTallNate authored
78 test-all: all test/gc/node_modules/weak/build
e63c782 @isaacs Tests for memory leaks
isaacs authored
79 $(PYTHON) tools/test.py --mode=debug,release
80 make test-npm
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
81
38f948a @bnoordhuis http: make http2 the default, legacy backend is available with --use-…
bnoordhuis authored
82 test-all-http1: all
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
83 $(PYTHON) tools/test.py --mode=debug,release --use-http1
e1bb241 @bnoordhuis test: add targets `test-http2` and `test-all-http2`
bnoordhuis authored
84
d02131d @ry Add 'make test-valgrind'
ry authored
85 test-all-valgrind: all
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
86 $(PYTHON) tools/test.py --mode=debug,release --valgrind
d02131d @ry Add 'make test-valgrind'
ry authored
87
97c9745 @ry Back to WAF
ry authored
88 test-release: all
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
89 $(PYTHON) tools/test.py --mode=release
6670154 @ry 'make test' only runs the simple test
ry authored
90
97c9745 @ry Back to WAF
ry authored
91 test-debug: all
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
92 $(PYTHON) tools/test.py --mode=debug
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
93
97c9745 @ry Back to WAF
ry authored
94 test-message: all
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
95 $(PYTHON) tools/test.py message
125b868 @ry Add message tests
ry authored
96
97c9745 @ry Back to WAF
ry authored
97 test-simple: all
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
98 $(PYTHON) tools/test.py simple
ade8cf9 @miksago Build API page into build/doc; simplify doctool.
miksago authored
99
97c9745 @ry Back to WAF
ry authored
100 test-pummel: all
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
101 $(PYTHON) tools/test.py pummel
ade8cf9 @miksago Build API page into build/doc; simplify doctool.
miksago authored
102
97c9745 @ry Back to WAF
ry authored
103 test-internet: all
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
104 $(PYTHON) tools/test.py internet
04fac19 @arlolra Split tests.
arlolra authored
105
f7f8af8 @ry Merge remote branch 'origin/v0.6'
ry authored
106 test-npm: node
d75de86 @isaacs add 'make test-npm'
isaacs authored
107 ./node deps/npm/test/run.js
108
f7f8af8 @ry Merge remote branch 'origin/v0.6'
ry authored
109 test-npm-publish: node
d75de86 @isaacs add 'make test-npm'
isaacs authored
110 npm_package_config_publishtest=true ./node deps/npm/test/run.js
15286c8 @ry Start 'make test-uv' command
ry authored
111
ade8cf9 @miksago Build API page into build/doc; simplify doctool.
miksago authored
112 apidoc_sources = $(wildcard doc/api/*.markdown)
7d6d5e2 @isaacs Use new doc generation tool
isaacs authored
113 apidocs = $(addprefix out/,$(apidoc_sources:.markdown=.html)) \
114 $(addprefix out/,$(apidoc_sources:.markdown=.json))
ade8cf9 @miksago Build API page into build/doc; simplify doctool.
miksago authored
115
a7af84f @isaacs docs: Move images out of the dist tarball
isaacs authored
116 apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets out/doc/about out/doc/community out/doc/logos out/doc/images
2392775 @ry Fix make doc
ry authored
117
a7300c8 @ry WAF builds in out/ instead of build/
ry authored
118 apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*)))
320e002 @ry fix 'make doc'
ry authored
119
a7af84f @isaacs docs: Move images out of the dist tarball
isaacs authored
120 doc_images = $(addprefix out/,$(wildcard doc/images/* doc/*.jpg doc/*.png))
121
90d1e47 @ry make doc improvements
ry authored
122 website_files = \
a7300c8 @ry WAF builds in out/ instead of build/
ry authored
123 out/doc/index.html \
124 out/doc/v0.4_announcement.html \
125 out/doc/cla.html \
126 out/doc/sh_main.js \
127 out/doc/sh_javascript.min.js \
128 out/doc/sh_vim-dark.css \
5c0d11b @isaacs doc: Add images to makefile
isaacs authored
129 out/doc/sh.css \
ae17e2d @ry Fix doc generation for new website
ry authored
130 out/doc/favicon.ico \
131 out/doc/pipe.css \
132 out/doc/about/index.html \
133 out/doc/community/index.html \
5c0d11b @isaacs doc: Add images to makefile
isaacs authored
134 out/doc/logos/index.html \
e066074 @isaacs Fix #3089 Build changelog.html for website
isaacs authored
135 out/doc/changelog.html \
a7af84f @isaacs docs: Move images out of the dist tarball
isaacs authored
136 $(doc_images)
a7300c8 @ry WAF builds in out/ instead of build/
ry authored
137
fecebe1 @isaacs build: Regenerate docs for tarball and releases
isaacs authored
138 doc: $(apidoc_dirs) $(website_files) $(apiassets) $(apidocs) tools/doc/ blog node
8f1a38d @isaacs Generate static HTML blog content out of markdown
isaacs authored
139
140 blogclean:
141 rm -rf out/blog
142
143 blog: doc/blog out/Release/node tools/blog
d34fea5 @isaacs blog: Generate RSS feeds
isaacs authored
144 out/Release/node tools/blog/generate.js doc/blog/ out/blog/ doc/blog.html doc/rss.xml
320e002 @ry fix 'make doc'
ry authored
145
ade8cf9 @miksago Build API page into build/doc; simplify doctool.
miksago authored
146 $(apidoc_dirs):
147 mkdir -p $@
2392775 @ry Fix make doc
ry authored
148
a7300c8 @ry WAF builds in out/ instead of build/
ry authored
149 out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets/
ade8cf9 @miksago Build API page into build/doc; simplify doctool.
miksago authored
150 cp $< $@
151
fecebe1 @isaacs build: Regenerate docs for tarball and releases
isaacs authored
152 out/doc/changelog.html: ChangeLog doc/changelog-head.html doc/changelog-foot.html tools/build-changelog.sh node
e066074 @isaacs Fix #3089 Build changelog.html for website
isaacs authored
153 bash tools/build-changelog.sh
154
fecebe1 @isaacs build: Regenerate docs for tarball and releases
isaacs authored
155 out/doc/%.html: doc/%.html node
4637688 @isaacs Remove hard-coded version number from docs
isaacs authored
156 cat $< | sed -e 's|__VERSION__|'$(VERSION)'|g' > $@
157
a7300c8 @ry WAF builds in out/ instead of build/
ry authored
158 out/doc/%: doc/%
a7af84f @isaacs docs: Move images out of the dist tarball
isaacs authored
159 cp -r $< $@
90d1e47 @ry make doc improvements
ry authored
160
fecebe1 @isaacs build: Regenerate docs for tarball and releases
isaacs authored
161 out/doc/api/%.json: doc/api/%.markdown node
7d6d5e2 @isaacs Use new doc generation tool
isaacs authored
162 out/Release/node tools/doc/generate.js --format=json $< > $@
163
fecebe1 @isaacs build: Regenerate docs for tarball and releases
isaacs authored
164 out/doc/api/%.html: doc/api/%.markdown node
7d6d5e2 @isaacs Use new doc generation tool
isaacs authored
165 out/Release/node tools/doc/generate.js --format=html --template=doc/template.html $< > $@
ade8cf9 @miksago Build API page into build/doc; simplify doctool.
miksago authored
166
7abbda8 @isaacs Make rules for release blog post and email message
isaacs authored
167 email.md: ChangeLog tools/email-footer.md
8068f9b @isaacs Escape leading # signs in 'make email.md'
isaacs authored
168 bash tools/changelog-head.sh | sed 's|^\* #|* \\#|g' > $@
7abbda8 @isaacs Make rules for release blog post and email message
isaacs authored
169 cat tools/email-footer.md | sed -e 's|__VERSION__|'$(VERSION)'|g' >> $@
170
171 blog.html: email.md
3ba9519 @isaacs Makefile: minor nit
isaacs authored
172 cat $< | ./node tools/doc/node_modules/.bin/marked > $@
7abbda8 @isaacs Make rules for release blog post and email message
isaacs authored
173
8f1a38d @isaacs Generate static HTML blog content out of markdown
isaacs authored
174 blog-upload: blog
175 rsync -r out/blog/ node@nodejs.org:~/web/nodejs.org/blog/
176
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
177 website-upload: doc
ee73132 @ry use rsync instead of scp to upload website
ry authored
178 rsync -r out/doc/ node@nodejs.org:~/web/nodejs.org/
066789a @isaacs Fix #3001 website update 'latest' links on publish
isaacs authored
179 ssh node@nodejs.org '\
180 rm -f ~/web/nodejs.org/dist/latest &&\
181 ln -s $(VERSION) ~/web/nodejs.org/dist/latest &&\
182 rm -f ~/web/nodejs.org/docs/latest &&\
183 ln -s $(VERSION) ~/web/nodejs.org/docs/latest &&\
184 rm -f ~/web/nodejs.org/dist/node-latest.tar.gz &&\
185 ln -s $(VERSION)/node-$(VERSION).tar.gz ~/web/nodejs.org/dist/node-latest.tar.gz'
ade8cf9 @miksago Build API page into build/doc; simplify doctool.
miksago authored
186
a7300c8 @ry WAF builds in out/ instead of build/
ry authored
187 docopen: out/doc/api/all.html
188 -google-chrome out/doc/api/all.html
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
189
2c016ba @ry 'make distclean' should not call 'waf clean'
ry authored
190 docclean:
a7300c8 @ry WAF builds in out/ instead of build/
ry authored
191 -rm -rf out/doc
2c016ba @ry 'make distclean' should not call 'waf clean'
ry authored
192
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
193 VERSION=v$(shell $(PYTHON) tools/getnodeversion.py)
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
194 TARNAME=node-$(VERSION)
317ba9f @ry Fix 'make dist'
ry authored
195 TARBALL=$(TARNAME).tar.gz
196 PKG=out/$(TARNAME).pkg
197 packagemaker=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
198
317ba9f @ry Fix 'make dist'
ry authored
199 dist: doc $(TARBALL) $(PKG)
5bc1809 @ry Add 'make dist-upload'
ry authored
200
9d1bdbc @ry Fixes #2084. Makeify tools/osx-dist.sh
ry authored
201 PKGDIR=out/dist-osx
202
203 pkg: $(PKG)
204
5bc1809 @ry Add 'make dist-upload'
ry authored
205 $(PKG):
e60b18b @TooTallNate Make a fat binary for the OS X `make pkg`.
TooTallNate authored
206 rm -rf $(PKGDIR)
207 rm -rf out/deps out/Release
208 ./configure --prefix=$(PKGDIR)/32/usr/local --without-snapshot --dest-cpu=ia32
8656c26 @isaacs Fix #3761 build: Default to V=1
isaacs authored
209 $(MAKE) install V=$(V)
e60b18b @TooTallNate Make a fat binary for the OS X `make pkg`.
TooTallNate authored
210 rm -rf out/deps out/Release
211 ./configure --prefix=$(PKGDIR)/usr/local --without-snapshot --dest-cpu=x64
8656c26 @isaacs Fix #3761 build: Default to V=1
isaacs authored
212 $(MAKE) install V=$(V)
e60b18b @TooTallNate Make a fat binary for the OS X `make pkg`.
TooTallNate authored
213 lipo $(PKGDIR)/32/usr/local/bin/node \
214 $(PKGDIR)/usr/local/bin/node \
215 -output $(PKGDIR)/usr/local/bin/node-universal \
216 -create
217 mv $(PKGDIR)/usr/local/bin/node-universal $(PKGDIR)/usr/local/bin/node
218 rm -rf $(PKGDIR)/32
9d1bdbc @ry Fixes #2084. Makeify tools/osx-dist.sh
ry authored
219 $(packagemaker) \
220 --id "org.nodejs.NodeJS-$(VERSION)" \
221 --doc tools/osx-pkg.pmdoc \
222 --out $(PKG)
5bc1809 @ry Add 'make dist-upload'
ry authored
223
fecebe1 @isaacs build: Regenerate docs for tarball and releases
isaacs authored
224 $(TARBALL): node doc
bdd57f0 @isaacs Makefile: Refuse to build release from unclean repo
isaacs authored
225 @if [ "$(shell git status --porcelain | egrep -v '^\?\? ')" = "" ]; then \
226 exit 0 ; \
227 else \
228 echo "" >&2 ; \
229 echo "The git repository is not clean." >&2 ; \
230 echo "Please commit changes before building release tarball." >&2 ; \
231 echo "" >&2 ; \
232 git status --porcelain | egrep -v '^\?\?' >&2 ; \
233 echo "" >&2 ; \
234 exit 1 ; \
235 fi
349cab0 @isaacs Check the version before building tarball
isaacs authored
236 @if [ $(shell ./node --version) = "$(VERSION)" ]; then \
237 exit 0; \
238 else \
239 echo "" >&2 ; \
240 echo "$(shell ./node --version) doesn't match $(VERSION)." >&2 ; \
241 echo "Did you remember to update src/node_version.cc?" >&2 ; \
242 echo "" >&2 ; \
243 exit 1 ; \
244 fi
a1138c6 @miksago Cleanup Makefile for JSLint, CPPLint
miksago authored
245 git archive --format=tar --prefix=$(TARNAME)/ HEAD | tar xf -
c45522d @isaacs build: Prevent duplication of doc/api folder
isaacs authored
246 mkdir -p $(TARNAME)/doc/api
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
247 cp doc/node.1 $(TARNAME)/doc/node.1
c45522d @isaacs build: Prevent duplication of doc/api folder
isaacs authored
248 cp -r out/doc/api/* $(TARNAME)/doc/api/
ce2d5ad @ry Change the 'make dist' to remove v8 test dir
ry authored
249 rm -rf $(TARNAME)/deps/v8/test # too big
a7af84f @isaacs docs: Move images out of the dist tarball
isaacs authored
250 rm -rf $(TARNAME)/doc/images # too big
76f6a4a @isaacs Remove dep symlinks from tarball
isaacs authored
251 find $(TARNAME)/ -type l | xargs rm # annoying on windows
ce2d5ad @ry Change the 'make dist' to remove v8 test dir
ry authored
252 tar -cf $(TARNAME).tar $(TARNAME)
253 rm -rf $(TARNAME)
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
254 gzip -f -9 $(TARNAME).tar
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
255
716f5bc @ry Add make dist-upload
ry authored
256 dist-upload: $(TARBALL) $(PKG)
257 ssh node@nodejs.org mkdir -p web/nodejs.org/dist/$(VERSION)
258 scp $(TARBALL) node@nodejs.org:~/web/nodejs.org/dist/$(VERSION)/$(TARBALL)
259 scp $(PKG) node@nodejs.org:~/web/nodejs.org/dist/$(VERSION)/$(TARNAME).pkg
260
ff456b3 @ry Add 'make bench' script
ry authored
261 bench:
262 benchmark/http_simple_bench.sh
263
3cf4827 @ry Add idle connection test
ry authored
264 bench-idle:
265 ./node benchmark/idle_server.js &
266 sleep 1
267 ./node benchmark/idle_clients.js &
268
ac58d3a @ry Import cpplint.py
ry authored
269 jslint:
605927f @isaacs Fix test/ jslint failures (by not linting tests)
isaacs authored
270 PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js
3cf4827 @ry Add idle connection test
ry authored
271
ac58d3a @ry Import cpplint.py
ry authored
272 cpplint:
472a72d @bnoordhuis build: honour the PYTHON environment variable
bnoordhuis authored
273 @$(PYTHON) tools/cpplint.py $(wildcard src/*.cc src/*.h src/*.c)
ac58d3a @ry Import cpplint.py
ry authored
274
275 lint: jslint cpplint
a128451 @ry Import Google's closure_linter
ry authored
276
fecebe1 @isaacs build: Regenerate docs for tarball and releases
isaacs authored
277 .PHONY: lint cpplint jslint bench clean docopen docclean doc dist distclean check uninstall install install-includes install-bin all staticlib dynamiclib test test-all website-upload pkg blog blogclean
Something went wrong with that request. Please try again.