Strip plenty of fastlane env

This commit is contained in:
Davide De Rosa 2021-10-11 16:59:43 +02:00
parent 881904ae61
commit 9539876d23
7 changed files with 5 additions and 27 deletions

8
.env
View File

@ -1,9 +1,5 @@
PROJECT="Passepartout"
APP_NAME="Passepartout"
#MATCH_READONLY="true"
BUILD_PATH="build"
DIST_PATH="dist"
# constant (fastlane)
LC_ALL="en_US.UTF-8"
LANG="en_US.UTF-8"
DIST_PATH="dist"

View File

@ -1,5 +0,0 @@
TARGET="dev"
MATCH_TYPE="adhoc"
GYM_EXPORT_METHOD="ad-hoc"
GYM_SKIP_PACKAGE_PKG="true"
APPCENTER_DISTRIBUTE_DESTINATION_TYPE="group"

View File

@ -5,5 +5,3 @@ GYM_SCHEME="Passepartout-iOS"
SCAN_SCHEME="PassepartoutCore-iOS"
DELIVER_PLATFORM="ios"
PILOT_PLATFORM="ios"
APPCENTER_APP_NAME=$GYM_SCHEME
APPCENTER_DISTRIBUTE_IPA="$DIST_PATH/$PLATFORM/dev/$APP_NAME.ipa"

View File

@ -6,5 +6,3 @@ GYM_SCHEME="Passepartout-macOS"
SCAN_SCHEME="PassepartoutCore-macOS"
DELIVER_PLATFORM="osx"
PILOT_PLATFORM="osx"
APPCENTER_APP_NAME=$GYM_SCHEME
APPCENTER_DISTRIBUTE_FILE="$DIST_PATH/$PLATFORM/dev/$APP_NAME.app"

1
.gitignore vendored
View File

@ -11,7 +11,6 @@ Pods
**/fastlane/test_output
**/fastlane/metadata/review_information
**/fastlane/metadata/trade_representative_contact_information
build/
dist/
iap/
templates/

View File

@ -6,11 +6,10 @@ screenshots_path "#{ENV["APP_ROOT"]}/fastlane/screenshots"
metadata_path "#{ENV["APP_ROOT"]}/fastlane/metadata"
if not ENV["TARGET"].nil?
binary_path = "#{ENV["DIST_PATH"]}/#{ENV["PLATFORM"]}/#{ENV["TARGET"]}"
if ENV["PLATFORM"] == "ios"
ipa "#{binary_path}/#{ENV["APP_NAME"]}.ipa"
ipa "#{ENV["DIST_PATH"]}/#{ENV["APP_NAME"]}.ipa"
else
pkg "#{binary_path}/#{ENV["APP_NAME"]}.pkg"
pkg "#{ENV["DIST_PATH"]}/#{ENV["APP_NAME"]}.pkg"
end
end

View File

@ -10,14 +10,7 @@
# sdk "iphoneos9.0"
stage_build_path = "#{ENV["BUILD_PATH"]}/#{ENV["PLATFORM"]}/#{ENV["TARGET"]}"
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"]
output_directory ENV["DIST_PATH"]
clean true
silent false