Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 22 lines (19 sloc) 0.511 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
require "bundler/gem_tasks"
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios'
require 'motion-cocoapods'
require 'motion-redgreen'

Motion::Project::App.setup do |app|
  app.name = 'NanoStoreDemo'
  app.redgreen_style = :full
  app.files += Dir.glob(File.join(app.project_dir, 'lib/nano_store/*.rb'))
  app.pods do
    pod 'NanoStore', '~> 2.6.0'
  end
end


desc "Build the gem"
task :gem do
  sh "bundle exec gem build nano-store.gemspec"
  sh "mkdir -p pkg"
  sh "mv *.gem pkg/"
end
Something went wrong with that request. Please try again.