Repository: cordova-medic
Updated Branches:
  refs/heads/remove-mobilespec-2M [created] d48b79904


Removed an unnecessary block of steps.

config.xml is no longer inside the www directory, so it doesn't need to be 
copied anymore.

Project: http://git-wip-us.apache.org/repos/asf/cordova-medic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-medic/commit/d48b7990
Tree: http://git-wip-us.apache.org/repos/asf/cordova-medic/tree/d48b7990
Diff: http://git-wip-us.apache.org/repos/asf/cordova-medic/diff/d48b7990

Branch: refs/heads/remove-mobilespec-2M
Commit: d48b79904b7655d057a1130fe6dcc628471dbf73
Parents: 15fcefe
Author: Max Woghiren <[email protected]>
Authored: Mon Jul 21 12:32:22 2014 -0400
Committer: Max Woghiren <[email protected]>
Committed: Mon Jul 21 12:32:22 2014 -0400

----------------------------------------------------------------------
 master.cfg | 10 ----------
 1 file changed, 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/d48b7990/master.cfg
----------------------------------------------------------------------
diff --git a/master.cfg b/master.cfg
index cbaac34..3e649a0 100644
--- a/master.cfg
+++ b/master.cfg
@@ -212,16 +212,6 @@ common_steps_mobilespec_2 = [
     ShellCommand(command=["node", 
"../cordova-cli/bin/cordova","prepare"],workdir='build/mobilespec',haltOnFailure=True,description='CLI
 Prepare',descriptionDone='CLI Prepare')
 ]
 
-# added to handle the moved config.xml (up one directory)
-common_steps_mobilespec_2M = [
-    ShellCommand(command=["node", 
"../cordova-cli/bin/cordova","plugin","add","../cordova-mobile-spec/dependencies-plugin","--searchpath",".."
 ],workdir='build/mobilespec',haltOnFailure=True,description='Plugin 
add',descriptionDone='Plugin add'),
-    ShellCommand(command=["node", "../cordova-cli/bin/cordova", "plugin", 
"add", 
"../medic/cordova-plugin-medic"],workdir='build/mobilespec',haltOnFailure=True,description='Medic
 plugin add',descriptionDone='Medic plugin add'),
-    
ShellCommand(command=["rm","-rf","mobilespec/www"],workdir='build',haltOnFailure=False,description='Remove
 www',descriptionDone='Remove www'),
-    ShellCommand(command=["node", "-e", 
"require('fs').symlinkSync('../cordova-mobile-spec/www','www','dir')"], 
workdir='build/mobilespec',haltOnFailure=True,description='Link www', 
descriptionDone='Link www'),
-    
ShellCommand(command=["cp","mobilespec/www/config.xml","mobilespec/config.xml"],workdir='build',haltOnFailure=False,description='Copy
 config',descriptionDone='Copy config'),
-    ShellCommand(command=["node", 
"../cordova-cli/bin/cordova","prepare"],workdir='build/mobilespec',haltOnFailure=True,description='CLI
 Prepare',descriptionDone='CLI Prepare')
-]
-
 # The steps to build just the js
 common_steps_js = [
     ShellCommand(command=["npm","install"], 
workdir='build/cordova-js',description='Install Grunt',descriptionDone='Install 
Grunt'),

Reply via email to