Skip to content

Commit

Permalink
Split bandwidth and rt plugins into separate files
Browse files Browse the repository at this point in the history
This patch fixes #2

The core plugins no longer need to be in the boomerang.js file.  We hope
that at this point most people using boomerang have a build process
where they combine and minify their JavaScript, and this should be done
at that step.

The Makefile will by default include rt.js and bw.js, but this can be
overridden on the command line while running make.
  • Loading branch information
bluesmoon committed Sep 14, 2012
1 parent 41cdcf5 commit b81acf7
Show file tree
Hide file tree
Showing 4 changed files with 883 additions and 868 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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 :=
PLUGINS := rt.js bw.js

VERSION := $(shell sed -ne '/^BOOMR\.version/{s/^.*"\([^"]*\)".*/\1/;p;q;}' boomerang.js)
DATE := $(shell date +%s)
Expand All @@ -14,8 +14,8 @@ usage:
echo "Create a release version of boomerang:"
echo " make"
echo ""
echo "Create a release version of boomerang with the dns plugin:"
echo " make PLUGINS=dns.js"
echo "Create a release version of boomerang with the rt, bw & dns plugins:"
echo " make PLUGINS=\"rt.js bw.js 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\""
Expand Down
Loading

0 comments on commit b81acf7

Please sign in to comment.