Sha256: fb436452132db0c2021486f65ab86ac60a352a3c36640ad03c9e9bd656b470a8
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
# coding: utf-8 module Cuesmash # # iOS Specific compiler # class AndroidCompiler < Compiler OUTPUT_PATH = 'app/build/outputs/apk' attr_accessor :project_name attr_accessor :build_configuration def initialize(project_name:, build_configuration:) @project_name = project_name @build_configuration = build_configuration end # # Generate the string to be used as the gradle build command # using the scheme ivar # # @return [String] The full gradle build command with args def command case when @build_configuration == 'debug' gradle_assemble_command = './gradlew assembleDebug' when @build_configuration == 'bdd-debug' gradle_assemble_command = './gradlew assembleBddDebug' when @build_configuration == 'release' gradle_assemble_command = './gradlew assemble' else puts '/nBuild configuration not found or invalid build configuration' end Logger.info "gradle_assemble_command == #{gradle_assemble_command}" gradle_assemble_command end # command end # class AndroidCompiler end # module Cuesmash
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cuesmash-0.1.9.9 | lib/cuesmash/android_compiler.rb |
cuesmash-0.1.9.8 | lib/cuesmash/android_compiler.rb |