Parent Directory | Revision Log
imported package yuicompressor
1 | #!/bin/sh |
2 | # |
3 | # yuicompressor script |
4 | # gil |
5 | |
6 | # Source functions library |
7 | . /usr/share/java-utils/java-functions |
8 | |
9 | # Source system prefs |
10 | if [ -f /etc/yuicompressor.conf ] ; then |
11 | . /etc/yuicompressor.conf |
12 | fi |
13 | |
14 | # Source user prefs |
15 | if [ -f $HOME/.yuicompressorrc ] ; then |
16 | . $HOME/.yuicompressorrc |
17 | fi |
18 | |
19 | # Configuration |
20 | MAIN_CLASS=com.yahoo.platform.yui.compressor.Bootstrap |
21 | BASE_JARS="yuicompressor" |
22 | |
23 | # Set parameters |
24 | set_jvm |
25 | set_classpath $BASE_JARS |
26 | set_flags $BASE_FLAGS |
27 | set_options $BASE_OPTIONS |
28 | |
29 | # Let's start |
30 | run "$@" |
ViewVC Help | |
Powered by ViewVC 1.1.30 |