2012-12-16 19:29:18 +00:00
|
|
|
ISSO = "isso/js"
|
|
|
|
|
2012-12-16 23:00:49 +00:00
|
|
|
all: admin client
|
2012-10-25 11:24:44 +00:00
|
|
|
|
|
|
|
init:
|
2012-12-16 19:29:18 +00:00
|
|
|
git clone https://github.com/posativ/promisejs.git $(ISSO)/promise.js
|
|
|
|
(cd $(ISSO) && ender build jeesh)
|
|
|
|
(cd $(ISSO) && ender add promise.js)
|
|
|
|
rm -rf $(ISSO)/promise.js
|
2012-10-25 11:24:44 +00:00
|
|
|
|
2012-12-16 23:00:49 +00:00
|
|
|
admin:
|
|
|
|
cat $(ISSO)/ender.js $(ISSO)/isso.js $(ISSO)/utils.js $(ISSO)/admin.js > $(ISSO)/_.js
|
|
|
|
yuicompressor --type js --charset utf-8 $(ISSO)/_.js -o $(ISSO)/interface.js
|
|
|
|
|
|
|
|
rm $(ISSO)/_.js
|
|
|
|
|
|
|
|
client:
|
2012-12-16 22:29:07 +00:00
|
|
|
cat $(ISSO)/ender.js $(ISSO)/isso.js $(ISSO)/utils.js $(ISSO)/client.js > $(ISSO)/_.js
|
2012-12-16 19:29:18 +00:00
|
|
|
yuicompressor --type js --charset utf-8 $(ISSO)/_.js -o $(ISSO)/embed.js
|
2012-12-16 23:00:49 +00:00
|
|
|
|
2012-12-16 19:29:18 +00:00
|
|
|
rm $(ISSO)/_.js
|