From 9e22a3dd0f35f9f9695b006d4edd122f3cf606e2 Mon Sep 17 00:00:00 2001 From: namrataukirde Date: Wed, 25 Apr 2018 16:31:12 +0530 Subject: [PATCH] Revert "hcp changes" This reverts commit 509c80f2ef6fc4cdab7769588d03a9dbc4b23b65. --- Rakefile | 6 -- circle.yml | 2 - cordova/config.xml | 184 +++++++++++++++++++-------------------- cordova/cordova-hcp.json | 4 - 4 files changed, 90 insertions(+), 106 deletions(-) delete mode 100644 cordova/cordova-hcp.json diff --git a/Rakefile b/Rakefile index b1b54f1c..fca66620 100755 --- a/Rakefile +++ b/Rakefile @@ -127,12 +127,6 @@ namespace :cordova do log("Preparing app for #{platform}") Dir.chdir(CORDOVA_PATH) do system({"ENVIRONMENT" => environment}, "cordova prepare #{platform}") - if environment == "staging" - log("running cordova-hcp build") - a = system({"ENVIRONMENT" => environment}, "cordova-hcp build") - log("#{a}") - # system({"ENVIRONMENT" => environment}, "cordova-hcp build") - end unless platform == "ios" sh %{ cordova plugin add #{SPLUNKMINT_PLUGIN_URL} --variable MINT_APIKEY="#{splunk_mint_key}" } end diff --git a/circle.yml b/circle.yml index 626b70f7..aba9af2d 100755 --- a/circle.yml +++ b/circle.yml @@ -30,7 +30,6 @@ dependencies: - bundle install - gem update fastlane spaceship - bower install - - npm install -g cordova-hot-code-push-cli - PATH=$(npm bin):$PATH; azure-filestore download -f goodcity.keystore: pwd: cordova - PATH=$(npm bin):$PATH; azure-filestore download -d google-play -f $GOOGLE_PLAY_KEY_FILE: @@ -56,7 +55,6 @@ deployment: - bundle exec rake staging android app:build - bundle exec fastlane android staging - bundle exec rake staging ios app:build - - scp -r -o "StrictHostKeyChecking=no" -P 59207 /Users/distiller/app.goodcity/cordova deployer@app-staging.goodcity.hk:/var/www/html/app.goodcity.hk/ - bundle exec fastlane ios staging - curl https://api.rollbar.com/api/1/sourcemap/download -F access_token=$ROLLBAR_KEY -F version=$APP_VERSION -F minified_url=https://app-staging.goodcity.hk/assets/goodcity.js; - curl https://api.rollbar.com/api/1/sourcemap/download -F access_token=$ROLLBAR_KEY -F version=$APP_VERSION -F minified_url=https://app-staging.goodcity.hk/assets/vendor.js; diff --git a/cordova/config.xml b/cordova/config.xml index 12d4d870..fbed8fea 100755 --- a/cordova/config.xml +++ b/cordova/config.xml @@ -1,95 +1,91 @@ - - - S. GoodCity - The GoodCity initiative is a new way to donate quality goods in Hong Kong. See www.goodcity.hk for more details. - Crossroads - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - So you can photograph items for donation. - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + S. GoodCity + The GoodCity initiative is a new way to donate quality goods in Hong Kong. See www.goodcity.hk for more details. + Crossroads + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + So you can photograph items for donation. + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cordova/cordova-hcp.json b/cordova/cordova-hcp.json deleted file mode 100644 index 0bef50fb..00000000 --- a/cordova/cordova-hcp.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "content_url": "https://app-staging.goodcity.hk/cordova/www", - "update": "now" -}