Top Level Namespace

Defined Under Namespace

Modules: ApplauseTool, Plist, S3, Xcode, XcodebuildRake, Zip Classes: BuildConfiguration, ReleaseConfiguration, TestDestination, UploadConfiguration

Constant Summary collapse

PLIST_BUDDY =

Copyright © 2017 Applause Inc. All rights reserved.

'/usr/libexec/PlistBuddy'
PLIST_VERSION_KEY =
"CFBundleShortVersionString"
PLIST_BUILD_NUMBER_KEY =
"CFBundleVersion"
BUILD_DIR =

Copyright © 2017 Applause Inc. All rights reserved.

'build'
TEST_REPORT_DIR =
'test-reports'
YAML_SETUP_XCPRETTY_KEY =
'xcpretty'
YAML_SETUP_XCPRETTY_FLAGS_KEY =
'xcpretty-flags'
DEFAULT_EXPORT_OPTIONS_PLIST_PATH =
File.join(File.expand_path("..", File.dirname(__FILE__)), 'ExportOptions.plist')
XCODEBUILD_SAFE_PATH =
File.join(File.expand_path("..", File.dirname(__FILE__)), 'xcodebuild_safe.sh')
ROOT_DIR =
File.dirname(__FILE__)
APPLAUSE_TOOL_DEFAULT_SERVICE =

Copyright © 2017 Applause Inc. All rights reserved.

'sdk'
YAML_SETUP_DESTINATION_PLATFORM_KEY =

Copyright © 2017 Applause Inc. All rights reserved.

'platform'
YAML_SETUP_DESTINATION_NAME_KEY =
'name'
YAML_SETUP_DESTINATION_OS_KEY =
'os'
YAML_SETUP_DESTINATION_ARCH_KEY =
'arch'
BUILD_CONFIGURATION_YAML_PATH =
'build.yaml'
YAML_SETUPS_KEY =
'setups'
YAML_DEFAULT_SETUP_NAME =
'Default'
YAML_SETUP_NAME_KEY =
'name'
YAML_SETUP_WORKSPACE_KEY =
'workspace'
YAML_SETUP_PROJECT_KEY =
'project'
YAML_SETUP_SCHEME_KEY =
'scheme'
YAML_SETUP_SDK_KEY =
'sdk'
YAML_SETUP_CONF_KEY =
'configuration'
YAML_SETUP_DESTINATION_KEY =
'destination'
YAML_SETUP_RELEASE_CONFIGURATION_KEY =
'release_configuration'
UPLOAD_CONFIGURATION_YAML_PATH =
'app_upload.yaml'
YAML_CONFIGURATIONS_KEY =
'configurations'
YAML_CONFIG_NAME_KEY =
'name'
YAML_CONFIG_SERVICE_KEY =
'service'
YAML_CONFIG_APPLICATION_KEY_KEY =
'application_key'
YAML_CONFIG_COMPANY_ID_KEY =
'company_id'
YAML_CONFIG_APP_ID_KEY =
'app_id'
YAML_CONFIG_PUBLISH_EMAIL_KEY =
'publish_email'
YAML_CONFIG_DISTRIBUTION_GROUP_KEY =
'distribution_group'
YAML_SETUP_RELEASE_CONFIGURATION_PLIST_PATH_KEY =

Copyright © 2017 Applause Inc. All rights reserved.

'plist'
YAML_SETUP_RELEASE_CONFIGURATION_OUTPUT_PATH_KEY =
'output_path'
YAML_SETUP_RELEASE_CONFIGURATION_PRODUCT_NAME_KEY =
'product_name'
YAML_SETUP_RELEASE_CONFIGURATION_POD_NAME_KEY =
'pod_name'
YAML_SETUP_RELEASE_CONFIGURATION_S3_UPLOAD_BUCKET_KEY =
's3_bucket'
YAML_SETUP_RELEASE_CONFIGURATION_S3_UPLOAD_FOLDER_KEY =
's3_upload_folder'
YAML_SETUP_RELEASE_CONFIGURATION_TEST_APPS_PLISTS_KEY =
'test_apps_plists'
YAML_SETUP_RELEASE_CONFIGURATION_TEST_APPS_VERSION_CODE_FILES_KEY =
'test_apps_version_code_files'
YAML_SETUP_RELEASE_CONFIGURATION_EXPORT_OPTIONS_PLIST_KEY =
'export_options_plist'

Instance Method Summary collapse

Instance Method Details

#display_versionObject

BUILD SCRIPT FUNCTIONS ###



27
28
29
# File 'lib/xcodebuild_rake.rb', line 27

def display_version()
  puts File.open("./xcodebuild_rake/version", "rb").read
end