lib/cuesmash/ios_compiler.rb in cuesmash-0.1.9.7 vs lib/cuesmash/ios_compiler.rb in cuesmash-0.1.9.8
- old
+ new
@@ -1,16 +1,14 @@
# coding: utf-8
module Cuesmash
-
require 'shellwords'
#
# iOS Specific compiler
#
class IosCompiler < Compiler
-
attr_accessor :scheme
attr_accessor :tmp_dir
attr_accessor :build_configuration
def initialize(scheme:, tmp_dir:, build_configuration:)
@@ -35,16 +33,16 @@
# Looks in the current directory for the workspace file and
# gets its name if there is one
#
# @return [String] The name of the workspace file that was found along with the -workspace flag
def workspace
- wp = Dir["*.xcworkspace"].first
+ wp = Dir['*.xcworkspace'].first
if wp
flag = "-workspace #{wp}"
Logger.debug "workspace == #{wp}"
return flag
else
- Logger.debug "no workspace found"
+ Logger.debug 'no workspace found'
return wp
end
end # workspace
end # class IosCompiler
end # module Cuesmash