You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by za...@apache.org on 2014/07/29 08:44:11 UTC
[3/5] git commit: update clean.bat
update clean.bat
Project: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/commit/cf158d89
Tree: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/tree/cf158d89
Diff: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/diff/cf158d89
Branch: refs/heads/master
Commit: cf158d8988bfcd6122b75b39759f32935ce8ba42
Parents: b0d8e63
Author: Willy Aguirre <ma...@gmail.com>
Authored: Tue Jul 22 16:28:51 2014 -0500
Committer: Willy Aguirre <ma...@gmail.com>
Committed: Tue Jul 22 16:28:51 2014 -0500
----------------------------------------------------------------------
bin/templates/project/cordova/clean.bat | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/blob/cf158d89/bin/templates/project/cordova/clean.bat
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/clean.bat b/bin/templates/project/cordova/clean.bat
index 33b01c8..95840a8 100644
--- a/bin/templates/project/cordova/clean.bat
+++ b/bin/templates/project/cordova/clean.bat
@@ -16,12 +16,12 @@
:: under the License.
@ECHO OFF
-SET script_path="%~dp0build"
+SET script_path="%~dp0clean"
IF EXIST %script_path% (
- RMDIR /S %script_path%
+ node %script_path% %*
ECHO Cleaning Firefoxos project
) ELSE (
ECHO.
- ECHO ERROR: Could not find 'build' script in 'cordova' folder, aborting...>&2
- EXIT /B 1
+ ECHO ERROR: Could not find 'clean' script in 'cordova' folder, aborting...>&2
+ EXIT /B 1
)