You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2015/02/12 07:49:33 UTC
[3/4] cordova-medic git commit: [INFRA-8588] 'Fixing' medic.json path.
[INFRA-8588] 'Fixing' medic.json path.
Project: http://git-wip-us.apache.org/repos/asf/cordova-medic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-medic/commit/5776366e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-medic/tree/5776366e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-medic/diff/5776366e
Branch: refs/heads/master
Commit: 5776366e9b4c8bd7795ecd7b3075955dbdc345f1
Parents: 8b97955
Author: Dmitry Blotsky <dm...@gmail.com>
Authored: Wed Feb 11 01:15:53 2015 -0800
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Wed Feb 11 01:16:53 2015 -0800
----------------------------------------------------------------------
src/build/makers/ios.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/5776366e/src/build/makers/ios.js
----------------------------------------------------------------------
diff --git a/src/build/makers/ios.js b/src/build/makers/ios.js
index 2921743..ae0b116 100644
--- a/src/build/makers/ios.js
+++ b/src/build/makers/ios.js
@@ -20,7 +20,7 @@ module.exports = function(output,lib_location,test_dir, sha, devices, entry_poin
var projectWww = path.join(output, 'www');
// add the medic configuration (sha,host) to destination folder
var medic_config='{"sha":"'+sha+'","couchdb":"'+couchdb_cfg.host+'","couchdbext":"'+couchdb_cfg.exthost+'"}';
- fs.writeFileSync(path.join(output, 'www','autotest','pages', 'medic.json'),medic_config,'utf-8');
+ fs.writeFileSync(path.join(output, '..', '..', 'www', 'medic.json'),medic_config,'utf-8');
// modify config.xml
var configFile = path.join(output, 'mobilespec', 'config.xml');
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org