Sha256: ea5a6487627b802d9f9cfb732decaa2e48c47558051cf2b23d2e20a90b1d06c5
Contents?: true
Size: 584 Bytes
Versions: 1
Compression:
Stored size: 584 Bytes
Contents
module Minke module Commands class Swift def commands { :build => { :build => ['swift', 'build', '-Xcc', '-fblocks'], :test => ['ls', '-ls'], }, :docker => { :image => 'ibmcom/kitura-ubuntu:latest', :binds => ["#{source_directory}:/src"], :working_directory => "/src" } } end def source_directory Dir.pwd if File.exists?('Package.swift') File.expand_path('../.') if File.exists?('../Package.swift') end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
minke-0.13.0 | lib/minke/commands/swift.rb |