Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/motion/project/template/ios.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
desc "Create an .ipa archive for distribution (AppStore)"
task :distribution do
App.config_without_setup.build_mode = :release
App.config.distribution_mode = true
App.config_without_setup.distribution_mode = true
Rake::Task["archive"].invoke
end
end
Expand All @@ -113,13 +113,13 @@
namespace :spec do
desc "Run the test/spec suite on the simulator"
task :simulator do
App.config.spec_mode = true
App.config_without_setup.spec_mode = true
Rake::Task["simulator"].invoke
end

desc "Run the test/spec suite on the device"
task :device do
App.config.spec_mode = true
App.config_without_setup.spec_mode = true
ENV['debug'] ||= '1'
Rake::Task["device"].invoke
end
Expand Down
4 changes: 2 additions & 2 deletions lib/motion/project/template/osx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

desc "Run the test/spec suite"
task :spec do
App.config.spec_mode = true
App.config_without_setup.spec_mode = true
Rake::Task["run"].invoke
end

Expand All @@ -74,7 +74,7 @@
namespace :archive do
desc "Create a .pkg archive for distribution (AppStore)"
task :distribution do
App.config.distribution_mode = true
App.config_without_setup.distribution_mode = true
Rake::Task['archive'].invoke
end
end