From: Anna Sobiepanek Date: Mon, 2 Aug 2010 19:29:26 +0000 (-0400) Subject: cleaning up branch X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=1f004ff4edfff45678dee58d08275af0aa2249b0;p=popcorn-js.git cleaning up branch --- diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index 33e824e..0000000 --- a/AUTHORS +++ /dev/null @@ -1,6 +0,0 @@ -Brett Gaylor -Dave Humphrey -Scott Downe -Daniel Hodgin -Anna Sobiepanek -Nick Cammarata \ No newline at end of file diff --git a/Makefile b/Makefile deleted file mode 100644 index d848652..0000000 --- a/Makefile +++ /dev/null @@ -1,55 +0,0 @@ -# Make sure $JSSHELL points to your js shell binary in .profile or .bashrc -TOOLSDIR=./tools - -all: release - -create-release: clean - mkdir ./release - -# Version number used in naming release files. -VERSION ?= $(error Specify a version for your release (e.g., VERSION=0.5)) - -release: release-files zipped - -release-files: popcorn yui release-docs - -zipped: release-files - gzip -c ./release/popcorn-${VERSION}.min.js > ./release/popcorn-${VERSION}.min.js.gz - find ./release -print | zip -j ./release/popcorn.js-${VERSION}.zip -@ - -release-docs: create-release - cp AUTHORS ./release - cat README | sed -e 's/@VERSION@/${VERSION}/' > ./release/README - cp LICENSE ./release - cp CHANGELOG ./release - -pretty: create-release - ${TOOLSDIR}/jsbeautify.py ${JSSHELL} popcorn.js > ./release/popcorn-${VERSION}.js.tmp -# check for any parsing errors in pretty version of popcorn.js - ${JSSHELL} -f ${TOOLSDIR}/fake-dom.js -f ./release/popcorn-${VERSION}.js.tmp - cat ./release/popcorn-${VERSION}.js.tmp | sed -e 's/@VERSION@/${VERSION}/' > ./release/popcorn-${VERSION}.js - rm -f ./release/popcorn-${VERSION}.js.tmp - -popcorn: create-release - cp popcorn.js ./release/popcorn-${VERSION}.js.tmp -# check for any parsing errors in popcorn.js - ${JSSHELL} -f ${TOOLSDIR}/fake-dom.js -f ./release/popcorn-${VERSION}.js.tmp - cat ./release/popcorn-${VERSION}.js.tmp | sed -e 's/@VERSION@/${VERSION}/' > ./release/popcorn-${VERSION}.js - rm -f ./release/popcorn-${VERSION}.js.tmp - -yui: create-release -# java -jar ${TOOLSDIR}/yui/yuicompressor-2.4.2.jar --nomunge popcorn.js -o ./release/popcorn-${VERSION}.min.js - java -jar ${TOOLSDIR}/yui/yuicompressor-2.4.2.jar popcorn.js -o ./release/popcorn-${VERSION}.min.js -# check for any parsing errors in compiled version of popcorn.js - ${JSSHELL} -f ${TOOLSDIR}/fake-dom.js -f ./release/popcorn-${VERSION}.min.js - -check: check-lint - -check-lint: - ${TOOLSDIR}/jslint.py ${JSSHELL} popcorn.js - -# Most targets use commands that need a js shell path specified -JSSHELL ?= $(error Specify a valid path to a js shell binary in ~/.profile: export JSSHELL=C:\path\js.exe or /path/js) - -clean: - rm -fr ./release diff --git a/README b/README deleted file mode 100644 index 6b9bfaf..0000000 --- a/README +++ /dev/null @@ -1,32 +0,0 @@ - POPCORN. JS - 0.1 - a library to work with the HTML5