Strip plenty of fastlane env
This commit is contained in:
parent
881904ae61
commit
9539876d23
8
.env
8
.env
|
@ -1,9 +1,5 @@
|
||||||
PROJECT="Passepartout"
|
|
||||||
APP_NAME="Passepartout"
|
|
||||||
#MATCH_READONLY="true"
|
|
||||||
BUILD_PATH="build"
|
|
||||||
DIST_PATH="dist"
|
|
||||||
|
|
||||||
# constant (fastlane)
|
# constant (fastlane)
|
||||||
LC_ALL="en_US.UTF-8"
|
LC_ALL="en_US.UTF-8"
|
||||||
LANG="en_US.UTF-8"
|
LANG="en_US.UTF-8"
|
||||||
|
|
||||||
|
DIST_PATH="dist"
|
||||||
|
|
5
.env.dev
5
.env.dev
|
@ -1,5 +0,0 @@
|
||||||
TARGET="dev"
|
|
||||||
MATCH_TYPE="adhoc"
|
|
||||||
GYM_EXPORT_METHOD="ad-hoc"
|
|
||||||
GYM_SKIP_PACKAGE_PKG="true"
|
|
||||||
APPCENTER_DISTRIBUTE_DESTINATION_TYPE="group"
|
|
2
.env.ios
2
.env.ios
|
@ -5,5 +5,3 @@ GYM_SCHEME="Passepartout-iOS"
|
||||||
SCAN_SCHEME="PassepartoutCore-iOS"
|
SCAN_SCHEME="PassepartoutCore-iOS"
|
||||||
DELIVER_PLATFORM="ios"
|
DELIVER_PLATFORM="ios"
|
||||||
PILOT_PLATFORM="ios"
|
PILOT_PLATFORM="ios"
|
||||||
APPCENTER_APP_NAME=$GYM_SCHEME
|
|
||||||
APPCENTER_DISTRIBUTE_IPA="$DIST_PATH/$PLATFORM/dev/$APP_NAME.ipa"
|
|
||||||
|
|
2
.env.mac
2
.env.mac
|
@ -6,5 +6,3 @@ GYM_SCHEME="Passepartout-macOS"
|
||||||
SCAN_SCHEME="PassepartoutCore-macOS"
|
SCAN_SCHEME="PassepartoutCore-macOS"
|
||||||
DELIVER_PLATFORM="osx"
|
DELIVER_PLATFORM="osx"
|
||||||
PILOT_PLATFORM="osx"
|
PILOT_PLATFORM="osx"
|
||||||
APPCENTER_APP_NAME=$GYM_SCHEME
|
|
||||||
APPCENTER_DISTRIBUTE_FILE="$DIST_PATH/$PLATFORM/dev/$APP_NAME.app"
|
|
||||||
|
|
|
@ -11,7 +11,6 @@ Pods
|
||||||
**/fastlane/test_output
|
**/fastlane/test_output
|
||||||
**/fastlane/metadata/review_information
|
**/fastlane/metadata/review_information
|
||||||
**/fastlane/metadata/trade_representative_contact_information
|
**/fastlane/metadata/trade_representative_contact_information
|
||||||
build/
|
|
||||||
dist/
|
dist/
|
||||||
iap/
|
iap/
|
||||||
templates/
|
templates/
|
||||||
|
|
|
@ -6,11 +6,10 @@ screenshots_path "#{ENV["APP_ROOT"]}/fastlane/screenshots"
|
||||||
metadata_path "#{ENV["APP_ROOT"]}/fastlane/metadata"
|
metadata_path "#{ENV["APP_ROOT"]}/fastlane/metadata"
|
||||||
|
|
||||||
if not ENV["TARGET"].nil?
|
if not ENV["TARGET"].nil?
|
||||||
binary_path = "#{ENV["DIST_PATH"]}/#{ENV["PLATFORM"]}/#{ENV["TARGET"]}"
|
|
||||||
if ENV["PLATFORM"] == "ios"
|
if ENV["PLATFORM"] == "ios"
|
||||||
ipa "#{binary_path}/#{ENV["APP_NAME"]}.ipa"
|
ipa "#{ENV["DIST_PATH"]}/#{ENV["APP_NAME"]}.ipa"
|
||||||
else
|
else
|
||||||
pkg "#{binary_path}/#{ENV["APP_NAME"]}.pkg"
|
pkg "#{ENV["DIST_PATH"]}/#{ENV["APP_NAME"]}.pkg"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -10,14 +10,7 @@
|
||||||
|
|
||||||
# sdk "iphoneos9.0"
|
# sdk "iphoneos9.0"
|
||||||
|
|
||||||
stage_build_path = "#{ENV["BUILD_PATH"]}/#{ENV["PLATFORM"]}/#{ENV["TARGET"]}"
|
output_directory ENV["DIST_PATH"]
|
||||||
stage_artifacts_path = "#{ENV["DIST_PATH"]}/#{ENV["PLATFORM"]}/#{ENV["TARGET"]}"
|
|
||||||
|
|
||||||
derived_data_path stage_build_path
|
|
||||||
buildlog_path stage_build_path
|
|
||||||
build_path stage_build_path
|
|
||||||
output_directory stage_artifacts_path
|
|
||||||
output_name ENV["APP_NAME"]
|
|
||||||
|
|
||||||
clean true
|
clean true
|
||||||
silent false
|
silent false
|
||||||
|
|
Loading…
Reference in New Issue