From 69aa77635cf9e48867d350c3153ee23d4f382ca2 Mon Sep 17 00:00:00 2001 From: "m.pohrebnyak" Date: Fri, 5 Apr 2013 17:55:57 +0200 Subject: [PATCH 1/5] .gitignore added Change-Id: I28779386edd451f797e1ee52a172bdbd5b02eb71 --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..83ca731 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/.settings +/.buildpath +/.project From b05dd83cd3d5dd016760af62bb6981b0f6f6ca71 Mon Sep 17 00:00:00 2001 From: "m.pohrebnyak" Date: Fri, 5 Apr 2013 17:58:28 +0200 Subject: [PATCH 2/5] the message "is not a valid option" removed as locale specific Change-Id: I645ee7f09dece03250323ef4888928d9cfeee248 --- tasks/my/JsCompileTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/my/JsCompileTask.php b/tasks/my/JsCompileTask.php index 5093921..05985d4 100644 --- a/tasks/my/JsCompileTask.php +++ b/tasks/my/JsCompileTask.php @@ -111,7 +111,7 @@ public function main() } $commandBase = 'java -jar ' . $this->compilerPath; exec($commandBase . ' --helpshort 2>&1', $output); - if (!preg_match('/"--helpshort" is not a valid option/', implode('', $output))) { + if (!preg_match('/"--helpshort" /', implode('', $output))) { throw new BuildException('Closure Compiler not found!'); } foreach ($this->filesets as $fs) { From 6562b334f894de84c9035c19165f024d2e060a4f Mon Sep 17 00:00:00 2001 From: "m.pohrebnyak" Date: Fri, 5 Apr 2013 18:13:00 +0200 Subject: [PATCH 3/5] README replaced w/ README.md Change-Id: I9c0e9fb32ef4be44ce68f4f3d8af345ab67f82d1 --- README | 13 ------------- README.md | 3 +++ 2 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index 464d2cd..0000000 --- a/README +++ /dev/null @@ -1,13 +0,0 @@ -Just a few tasks that I've created or borrowed for phing. - -CssCompileTask -Uses the YUI compressor to minify css files - -JsCompileTask -Uses the Google Closure Compiler to minify js files. Faster and smaller than jsmin - -CompressTask -Uses either gzip (default) or bzip2 to compress files. Leaves original files in tact. Handy for use with the nginx module, NginxHttpGzipStaticModule. - -FileSyncTask -Copied from Federico Cargnelutti, see http://fedecarg.com/wiki/FileSyncTask. Works great. diff --git a/README.md b/README.md new file mode 100644 index 0000000..fcc88d2 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# phing-tasks + +forked from https://github.com/mrowl/phing-tasks From bbb1652ae01c6c8d0bed6e16ff5b946869d5161e Mon Sep 17 00:00:00 2001 From: "m.pohrebnyak" Date: Fri, 5 Apr 2013 18:21:50 +0200 Subject: [PATCH 4/5] added composer.json Change-Id: I6f93e87a9af5e90c23d4fed96eecf1e7ef9f17cc --- composer.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..538b2ee --- /dev/null +++ b/composer.json @@ -0,0 +1,7 @@ +{ + "name": "phing/phing-tasks", + "description": "tasks created or borrowed for phing.", + "type": "library", + "keywords": ["phing", "tasks"], + "minimum-stability": "dev" +} \ No newline at end of file From 757d6d32b5ef341e5cc44b42db82259602f63d32 Mon Sep 17 00:00:00 2001 From: "m.pohrebnyak" Date: Tue, 9 Apr 2013 07:57:53 +0200 Subject: [PATCH 5/5] gitignore extended Change-Id: I79c4b2f725c0c751ff5e3b5988a40c9582156cda --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 83ca731..166bdfa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /.settings /.buildpath /.project +/README