aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2008-12-22 18:27:08 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2008-12-22 18:27:08 +0000
commit4be1a4daca94db50b95278744de281ab0268ede3 (patch)
tree2957d63b23a2de460b1c347aca2a4711434f9e80
parent9f75fb8231e9443fd7d6bbb792612381843932d5 (diff)
downloadjquery-ui-4be1a4daca94db50b95278744de281ab0268ede3.tar.gz
jquery-ui-4be1a4daca94db50b95278744de281ab0268ede3.zip
Build: Fix for #3576, adding headers to minified and packed files; current solution is rather ugly, need to refactor; also removed unnecessary files from old build scripts, while adding ant-contrib-0.6.jar
-rw-r--r--release/build/build/min.js11
-rw-r--r--release/build/build/pack.js19
2 files changed, 0 insertions, 30 deletions
diff --git a/release/build/build/min.js b/release/build/build/min.js
deleted file mode 100644
index 5707d4afb..000000000
--- a/release/build/build/min.js
+++ /dev/null
@@ -1,11 +0,0 @@
-load("build/js/jsmin.js", "build/js/writeFile.js");
-
-// arguments
-var inFile = arguments[0];
-var outFile = arguments[1] || inFile.replace(/\.js$/, ".min.js");
-
-var script = readFile(inFile);
-var header = script.match(/\/\*(.|\n)*?\*\//)[0];
-var minifiedScript = jsmin('', script, 3);
-
-writeFile( outFile, header + minifiedScript );
diff --git a/release/build/build/pack.js b/release/build/build/pack.js
deleted file mode 100644
index f38739201..000000000
--- a/release/build/build/pack.js
+++ /dev/null
@@ -1,19 +0,0 @@
-load("build/js/writeFile.js");
-load("build/js/base2.js");
-load("build/js/Packer.js");
-load("build/js/Words.js");
-
-// arguments
-var inFile = arguments[0];
-var outFile = arguments[1] || inFile.replace(/\.js$/, ".pack.js");
-
-// options
-var base62 = true;
-var shrink = true;
-
-var script = readFile(inFile);
-var header = script.match(/\/\*(.|\n)*?\*\//)[0];
-var packer = new Packer;
-var packedScript = packer.pack(script, base62, shrink);
-
-writeFile(outFile, header + "\n" + packedScript);