Browse files

move plugins into plugins/ directory

  • Loading branch information...
1 parent 4ab2084 commit 43598af06fa6885c91661259d8f0e63bd6f2b69c @bluesmoon bluesmoon committed Oct 4, 2012
View
6 Makefile
@@ -1,7 +1,7 @@
# Copyright (c) 2011, Yahoo! Inc. All rights reserved.
# Copyrights licensed under the BSD License. See the accompanying LICENSE.txt file for terms.
-PLUGINS := rt.js bw.js
+PLUGINS := plugins/rt.js plugins/bw.js
VERSION := $(shell sed -ne '/^BOOMR\.version/{s/^.*"\([^"]*\)".*/\1/;p;q;}' boomerang.js)
DATE := $(shell date +%s)
@@ -15,7 +15,7 @@ usage:
echo " make"
echo ""
echo "Create a release version of boomerang with the rt, bw & dns plugins:"
- echo " make PLUGINS=\"rt.js bw.js dns.js\""
+ echo " make PLUGINS=\"plugins/rt.js plugins/bw.js plugins/dns.js\""
echo ""
echo "Create a yuicompressor minified release version of boomerang:"
echo " make MINIFIER=\"java -jar /path/to/yuicompressor-2.4.2.jar --type js\""
@@ -28,7 +28,7 @@ boomerang-$(VERSION).$(DATE).js: boomerang.js $(PLUGINS)
echo
echo "Making $@ ..."
echo "using plugins: $(PLUGINS)..."
- cat boomerang.js $(PLUGINS) zzz_last_plugin.js | sed -e 's/^\(BOOMR\.version = "\)$(VERSION)\("\)/\1$(VERSION).$(DATE)\2/' | $(MINIFIER) | perl -pe "s/\(window\)\);/\(window\)\);\n/g" > $@ && echo "done"
+ cat boomerang.js $(PLUGINS) plugins/zzz_last_plugin.js | sed -e 's/^\(BOOMR\.version = "\)$(VERSION)\("\)/\1$(VERSION).$(DATE)\2/' | $(MINIFIER) | perl -pe "s/\(window\)\);/\(window\)\);\n/g" > $@ && echo "done"
echo
.PHONY: all
View
0 bw.js → plugins/bw.js
File renamed without changes.
View
0 dns.js → plugins/dns.js
File renamed without changes.
View
0 ipv6.js → plugins/ipv6.js
File renamed without changes.
View
0 memory.js → plugins/memory.js
File renamed without changes.
View
0 mobile.js → plugins/mobile.js
File renamed without changes.
View
0 navtiming.js → plugins/navtiming.js
File renamed without changes.
View
0 plugin.js → plugins/plugin.js
File renamed without changes.
View
0 rt.js → plugins/rt.js
File renamed without changes.
View
0 zzz_last_plugin.js → plugins/zzz_last_plugin.js
File renamed without changes.

0 comments on commit 43598af

Please sign in to comment.