mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-25 15:29:23 -05:00
16 lines
289 B
Bash
16 lines
289 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
DIR=`dirname $0`
|
||
|
|
||
|
$DIR/remove_constants.pl $1 | $DIR/opacify.pl > ._tmpRC.js
|
||
|
|
||
|
echo -n '"use strict";'
|
||
|
java -jar $DIR/compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS \
|
||
|
--js ._tmpRC.js \
|
||
|
| $DIR/digitize.pl \
|
||
|
| $DIR/dewindowize.pl
|
||
|
|
||
|
|
||
|
rm -f ._tmpRC.js
|
||
|
|