Sha256: a1736e9a73c9c5bdf53e6d0e01d142ccef7c06419c9e49bc1ba31068ddb42aec

Contents?: true

Size: 298 Bytes

Versions: 3

Compression:

Stored size: 298 Bytes

Contents

exec_path = File.join(APP_ROOT, 'build', 'osx', "#{APP_NAME}.app")

unless File.exist?(exec_path)
  require 'rake'
  require 'bowline/tasks/bowline'
  Rake::Task['app:bundle'].invoke
end

if ENV['debug']
  `open #{File.join(exec_path, 'Contents', 'MacOS', APP_NAME)}`
else
  `open #{exec_path}`
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
maccman-bowline-0.1.2 lib/bowline/commands/run.rb
maccman-bowline-0.1.3 lib/bowline/commands/run.rb
maccman-bowline-0.1.4 lib/bowline/commands/run.rb