Skip to content

Commit

Permalink
Bug mozilla#322 - Added credits to source code and version input to m…
Browse files Browse the repository at this point in the history
…ake file. Authors file added.
  • Loading branch information
unknown authored and unknown committed Mar 15, 2011
1 parent d88eb93 commit 08dc612
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
9 changes: 9 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Anna Sobiepanek
Rick Waldron
Scott Downe
David Humphrey
Nick Cammarata
Daniel Hodgin
Daniel Brooks
Brett Gaylor
Boaz Sender
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ DIST_DIR = ${PREFIX}/dist
PLUGINS_DIR = ${PREFIX}/plugins
PARSERS_DIR = ${PREFIX}/parsers

#Version
VERSION ?= $(error Specify a version for your release (e.g., VERSION=0.5))

RHINO ?= java -jar ${BUILD_DIR}/js.jar

CLOSURE_COMPILER = ${BUILD_DIR}/google-compiler-20100917.jar
Expand Down Expand Up @@ -54,8 +57,8 @@ popcorn: ${POPCORN_DIST}

${POPCORN_DIST}: ${POPCORN_SRC} | ${DIST_DIR}
@@echo "Building" ${POPCORN_DIST}
@@cp ${POPCORN_SRC} ${POPCORN_DIST}

@@cat ${POPCORN_SRC} | sed -e 's/@VERSION/${VERSION}/' > ${POPCORN_DIST}
min: ${POPCORN_MIN} ${PLUGINS_MIN} ${PARSERS_MIN} ${POPCORN_COMPLETE_MIN}

${POPCORN_MIN}: ${POPCORN_DIST}
Expand Down Expand Up @@ -88,7 +91,7 @@ ${PARSERS_DIST}: ${PARSERS_SRC} ${DIST_DIR}

complete: ${POPCORN_SRC} ${PLUGINS_SRC} ${DIST_DIR}
@@echo "Building popcorn + plugins + parsers"
@@cat ${POPCORN_SRC} ${PLUGINS_SRC} ${PARSERS_SRC} > ${POPCORN_COMPLETE_DIST}
@@cat ${POPCORN_SRC} ${PLUGINS_SRC} ${PARSERS_SRC} | sed -e 's/@VERSION/${VERSION}/' > ${POPCORN_COMPLETE_DIST}

lint:
@@echo "Checking Popcorn against JSLint..."
Expand Down
8 changes: 8 additions & 0 deletions popcorn.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* popcorn.js version @VERSION
* http://popcornjs.org
*
* Copyright 2011, Mozilla Foundation
* Licensed under the MIT license
*/

(function(global, document) {

// Cache refs to speed up calls to native utils
Expand Down

0 comments on commit 08dc612

Please sign in to comment.