Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 99d5a6305a
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (21 sloc) 0.73 kB
YUI = ./lib/yuicompressor-2.4.7.jar
RELEASE = alpha
JS_TARGETS = \
src/pouch.js \
src/pouch.collate.js \
src/pouch.merge.js \
src/pouch.replicate.js \
src/pouch.utils.js \
src/adapters/pouch.http.js \
src/adapters/pouch.idb.js
AMD_JS_TARGETS = \
src/pouch.amd.js
EXTRA_JS_TARGETS = \
src/deps/jquery-1.7.1.min.js \
src/deps/uuid.js
all :
(echo "(function() { "; cat $(EXTRA_JS_TARGETS); cat $(JS_TARGETS); echo " })(this);") > pouch.$(RELEASE).js
amd :
(echo "define('pouchdb',['jquery', 'simple-uuid', 'md5'], function(jquery, uuid, md5) { "; cat $(AMD_JS_TARGETS); cat $(JS_TARGETS); echo " return Pouch })") > pouch.amd.$(RELEASE).js
min : all
java -jar $(YUI) pouch.$(RELEASE).js -o pouch.$(RELEASE).min.js
Jump to Line
Something went wrong with that request. Please try again.