forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/v0.8'
Conflicts: ChangeLog src/node_version.h test/message/stdin_messages.out tools/install.py
- Loading branch information
Showing
316 changed files
with
4,168 additions
and
2,029 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 |
---|---|---|
|
@@ -354,3 +354,5 @@ Pavel Lang <[email protected]> | |
Peter Rybin <[email protected]> | ||
Eugen Dueck <[email protected]> | ||
Gil Pedersen <[email protected]> | ||
Tyler Neylon <[email protected]> | ||
Golo Roden <[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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,7 +114,7 @@ apidoc_sources = $(wildcard doc/api/*.markdown) | |
apidocs = $(addprefix out/,$(apidoc_sources:.markdown=.html)) \ | ||
$(addprefix out/,$(apidoc_sources:.markdown=.json)) | ||
|
||
apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets out/doc/about out/doc/community out/doc/logos out/doc/images | ||
apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets out/doc/about out/doc/community out/doc/download out/doc/logos out/doc/images | ||
|
||
apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*))) | ||
|
||
|
@@ -132,6 +132,7 @@ website_files = \ | |
out/doc/pipe.css \ | ||
out/doc/about/index.html \ | ||
out/doc/community/index.html \ | ||
out/doc/download/index.html \ | ||
out/doc/logos/index.html \ | ||
out/doc/changelog.html \ | ||
$(doc_images) | ||
|
@@ -192,18 +193,54 @@ docclean: | |
-rm -rf out/doc | ||
|
||
VERSION=v$(shell $(PYTHON) tools/getnodeversion.py) | ||
RELEASE=$(shell $(PYTHON) tools/getnodeisrelease.py) | ||
PLATFORM=$(shell uname | tr '[:upper:]' '[:lower:]') | ||
ifeq ($(findstring x86_64,$(shell uname -m)),x86_64) | ||
DESTCPU ?= x64 | ||
else | ||
DESTCPU ?= ia32 | ||
endif | ||
ifeq ($(DESTCPU),x64) | ||
ARCH=x64 | ||
else | ||
ARCH=x86 | ||
endif | ||
TARNAME=node-$(VERSION) | ||
TARBALL=$(TARNAME).tar.gz | ||
BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH) | ||
BINARYTAR=$(BINARYNAME).tar.gz | ||
PKG=out/$(TARNAME).pkg | ||
packagemaker=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker | ||
|
||
dist: doc $(TARBALL) $(PKG) | ||
|
||
PKGDIR=out/dist-osx | ||
|
||
release-only: | ||
@if [ "$(shell git status --porcelain | egrep -v '^\?\? ')" = "" ]; then \ | ||
exit 0 ; \ | ||
else \ | ||
echo "" >&2 ; \ | ||
echo "The git repository is not clean." >&2 ; \ | ||
echo "Please commit changes before building release tarball." >&2 ; \ | ||
echo "" >&2 ; \ | ||
git status --porcelain | egrep -v '^\?\?' >&2 ; \ | ||
echo "" >&2 ; \ | ||
exit 1 ; \ | ||
fi | ||
@if [ "$(RELEASE)" = "1" ]; then \ | ||
exit 0; \ | ||
else \ | ||
echo "" >&2 ; \ | ||
echo "#NODE_VERSION_IS_RELEASE is set to $(RELEASE)." >&2 ; \ | ||
echo "Did you remember to update src/node_version.cc?" >&2 ; \ | ||
echo "" >&2 ; \ | ||
exit 1 ; \ | ||
fi | ||
|
||
pkg: $(PKG) | ||
|
||
$(PKG): | ||
$(PKG): release-only | ||
rm -rf $(PKGDIR) | ||
rm -rf out/deps out/Release | ||
./configure --prefix=$(PKGDIR)/32/usr/local --without-snapshot --dest-cpu=ia32 | ||
|
@@ -224,27 +261,7 @@ $(PKG): | |
--out $(PKG) | ||
SIGN="$(SIGN)" PKG="$(PKG)" bash tools/osx-productsign.sh | ||
|
||
$(TARBALL): node doc | ||
@if [ "$(shell git status --porcelain | egrep -v '^\?\? ')" = "" ]; then \ | ||
exit 0 ; \ | ||
else \ | ||
echo "" >&2 ; \ | ||
echo "The git repository is not clean." >&2 ; \ | ||
echo "Please commit changes before building release tarball." >&2 ; \ | ||
echo "" >&2 ; \ | ||
git status --porcelain | egrep -v '^\?\?' >&2 ; \ | ||
echo "" >&2 ; \ | ||
exit 1 ; \ | ||
fi | ||
@if [ $(shell ./node --version) = "$(VERSION)" ]; then \ | ||
exit 0; \ | ||
else \ | ||
echo "" >&2 ; \ | ||
echo "$(shell ./node --version) doesn't match $(VERSION)." >&2 ; \ | ||
echo "Did you remember to update src/node_version.cc?" >&2 ; \ | ||
echo "" >&2 ; \ | ||
exit 1 ; \ | ||
fi | ||
$(TARBALL): release-only node doc | ||
git archive --format=tar --prefix=$(TARNAME)/ HEAD | tar xf - | ||
mkdir -p $(TARNAME)/doc/api | ||
cp doc/node.1 $(TARNAME)/doc/node.1 | ||
|
@@ -256,6 +273,22 @@ $(TARBALL): node doc | |
rm -rf $(TARNAME) | ||
gzip -f -9 $(TARNAME).tar | ||
|
||
tar: $(TARBALL) | ||
|
||
$(BINARYTAR): release-only | ||
rm -rf $(BINARYNAME) | ||
rm -rf out/deps out/Release | ||
./configure --prefix=/ --without-snapshot --dest-cpu=$(DESTCPU) | ||
$(MAKE) install DESTDIR=$(BINARYNAME) V=$(V) PORTABLE=1 | ||
cp README.md $(BINARYNAME) | ||
cp LICENSE $(BINARYNAME) | ||
cp ChangeLog $(BINARYNAME) | ||
tar -cf $(BINARYNAME).tar $(BINARYNAME) | ||
rm -rf $(BINARYNAME) | ||
gzip -f -9 $(BINARYNAME).tar | ||
|
||
binary: $(BINARYTAR) | ||
|
||
dist-upload: $(TARBALL) $(PKG) | ||
ssh [email protected] mkdir -p web/nodejs.org/dist/$(VERSION) | ||
scp $(TARBALL) [email protected]:~/web/nodejs.org/dist/$(VERSION)/$(TARBALL) | ||
|
@@ -280,4 +313,4 @@ cpplint: | |
|
||
lint: jslint cpplint | ||
|
||
.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 | ||
.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 tar binary release-only |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
language: node_js | ||
before_install: "make &>out || cat out; rm out" | ||
node_js: | ||
- 0.6 | ||
- 0.8 |
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 |
---|---|---|
|
@@ -72,3 +72,6 @@ James Halliday <[email protected]> | |
Jeremy Cantrell <[email protected]> | ||
Ribettes <[email protected]> | ||
Don Park <[email protected]> | ||
Kei Son <[email protected]> | ||
Nicolas Morel <[email protected]> | ||
Mark Dube <[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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,7 +92,7 @@ doc/cli/index.md: $(markdowns) scripts/index-build.js scripts/doc-build.sh packa | |
node scripts/index-build.js > $@ | ||
|
||
node_modules/.bin/ronn: | ||
node cli.js install https://github.com/isaacs/ronnjs/tarball/master | ||
node cli.js install | ||
|
||
doc: man | ||
|
||
|
@@ -127,7 +127,7 @@ doc-publish: doc | |
[email protected]:/home/node/npm-www/static/ | ||
|
||
zip-publish: release | ||
scp release/* izs.me:/var/www/izs.me/static/public/npm/ | ||
scp release/* [email protected]:dist/npm/ | ||
|
||
release: | ||
@bash scripts/release.sh | ||
|
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
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2> | |
<p>This function should not be used programmatically. Instead, just refer | ||
to the <code>npm.bin</code> member.</p> | ||
</div> | ||
<p id="footer">bin — [email protected].46</p> | ||
<p id="footer">bin — [email protected].49</p> | ||
<script> | ||
;(function () { | ||
var wrapper = document.getElementById("wrapper") | ||
|
Oops, something went wrong.