Sha256: c84424f40da0d2b43fb0bc0f6f0cee211b9abf09d79119ebbed5e5af11643c62
Contents?: true
Size: 666 Bytes
Versions: 1
Compression:
Stored size: 666 Bytes
Contents
p "Basfasdf" if const_defined?(:Motion) && Motion.const_defined?(:Project) namespace :schema do desc "Clear the datamodel outputs" task :clean do files = Dir.glob(File.join(App.config.project_dir, 'resources', App.config.name) + ".{momd,xcdatamodeld}") files.each do |f| rm_rf f end end desc "Generate the xcdatamodel file" task :build => :clean do Dir.chdir App.config.project_dir system("xcdm", App.config.name, "schemas", "resources") end end task :"build:simulator" => :"schema:build" task :"build:device" => :"schema:build" else require 'xcdm/schema' require 'xcdm/entity' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-xcdm-0.0.1 | lib/ruby-xcdm.rb |