This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged 'v0.6' intro AndreasMadsen/master
- Loading branch information
Showing
508 changed files
with
31,907 additions
and
1,039 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,6 @@ ipch/ | |
/options.gypi | ||
*-nodegyp* | ||
/gyp-mac-tool | ||
/dist-osx | ||
/npm.wxs | ||
/tools/msvs/npm.wixobj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -232,3 +232,6 @@ Zachary Scott <[email protected]> | |
Jordan Sissel <[email protected]> | ||
Matt Robenolt <[email protected]> | ||
Jacob H.C. Kragh <[email protected]> | ||
Benjamin Pasero <[email protected]> | ||
Scott Anderson <[email protected]> | ||
Yoji SHIDARA <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,7 +89,7 @@ website_files = \ | |
out/doc/favicon.ico \ | ||
out/doc/pipe.css | ||
|
||
doc: out/Release/node $(apidoc_dirs) $(website_files) $(apiassets) $(apidocs) | ||
doc docs: out/Release/node $(apidoc_dirs) $(website_files) $(apiassets) $(apidocs) | ||
|
||
$(apidoc_dirs): | ||
mkdir -p $@ | ||
|
@@ -120,16 +120,36 @@ clean: | |
|
||
distclean: docclean | ||
-find tools -name "*.pyc" | xargs rm -f | ||
-rm -rf dist-osx | ||
-rm -rf out/ node node_g | ||
|
||
check: | ||
@tools/waf-light check | ||
|
||
VERSION=$(shell git describe) | ||
VERSION=v$(shell python tools/getnodeversion.py) | ||
TARNAME=node-$(VERSION) | ||
TARBALL=$(TARNAME).tar.gz | ||
PKG=out/$(TARNAME).pkg | ||
|
||
packagemaker=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker | ||
|
||
#dist: doc/node.1 doc/api | ||
dist: doc | ||
dist: $(TARBALL) $(PKG) | ||
|
||
PKGDIR=out/dist-osx | ||
|
||
pkg: $(PKG) | ||
|
||
$(PKG): | ||
-rm -rf $(PKGDIR) | ||
$(WAF) configure --prefix=/usr/local | ||
DESTDIR=$(PKGDIR) $(WAF) install | ||
$(packagemaker) \ | ||
--id "org.nodejs.NodeJS-$(VERSION)" \ | ||
--doc tools/osx-pkg.pmdoc \ | ||
--out $(PKG) | ||
|
||
$(TARBALL): out/doc | ||
git archive --format=tar --prefix=$(TARNAME)/ HEAD | tar xf - | ||
mkdir -p $(TARNAME)/doc | ||
cp doc/node.1 $(TARNAME)/doc/node.1 | ||
|
@@ -140,6 +160,11 @@ dist: doc | |
rm -rf $(TARNAME) | ||
gzip -f -9 $(TARNAME).tar | ||
|
||
dist-upload: $(TARBALL) $(PKG) | ||
ssh [email protected] mkdir -p web/nodejs.org/dist/$(VERSION) | ||
scp $(TARBALL) [email protected]:~/web/nodejs.org/dist/$(VERSION)/$(TARBALL) | ||
scp $(PKG) [email protected]:~/web/nodejs.org/dist/$(VERSION)/$(TARNAME).pkg | ||
|
||
bench: | ||
benchmark/http_simple_bench.sh | ||
|
||
|
@@ -156,4 +181,4 @@ cpplint: | |
|
||
lint: jslint cpplint | ||
|
||
.PHONY: lint cpplint jslint bench clean docopen docclean doc dist distclean check uninstall install all program staticlib dynamiclib test test-all website-upload | ||
.PHONY: lint cpplint jslint bench clean docopen docclean doc dist distclean dist-upload check uninstall install all program staticlib dynamiclib test test-all website-upload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.