class Cuesmash::AndroidCompiler
iOS Specific compiler
Constants
- OUTPUT_PATH
Attributes
build_configuration[RW]
project_name[RW]
Public Class Methods
new(project_name:, build_configuration:)
click to toggle source
# File lib/cuesmash/android_compiler.rb, line 13 def initialize(project_name:, build_configuration:) @project_name = project_name @build_configuration = build_configuration end
Public Instance Methods
command()
click to toggle source
Generate the string to be used as the gradle build command using the scheme ivar
@return [String] The full gradle build command with args
# File lib/cuesmash/android_compiler.rb, line 23 def command if !@build_configuration.nil? gradle_assemble_command = "./gradlew assemble#{@build_configuration.gsub('-', '')}" else fail 'Build configuration not found or invalid build configuration' end Logger.info "gradle_assemble_command == #{gradle_assemble_command}" gradle_assemble_command end