bin/snapshot in snapshot-0.5.0 vs bin/snapshot in snapshot-0.6.0
- old
+ new
@@ -20,10 +20,11 @@
program :help, 'Website', 'https://fastlane.tools'
program :help, 'GitHub', 'https://github.com/krausefx/snapshot'
program :help_formatter, :compact
global_option '--snapfile PATH', String, 'Custom path for your Snapfile.'
+ global_option '--nobuild', 'Skips the build process when running snapshot.'
global_option '--noclean', 'Skips the clean process of the build command when running snapshot.'
global_option('--verbose', 'Shows all output printed by Instruments.') { $verbose = true }
always_trace!
@@ -34,10 +35,10 @@
c.action do |args, options|
path = (Snapshot::Helper.fastlane_enabled?? './fastlane' : '.')
Dir.chdir(path) do # switch the context
Snapshot::DependencyChecker.check_simulators
Snapshot::SnapshotConfig.shared_instance(options.snapfile)
- Snapshot::Runner.new.work(clean: !options.noclean)
+ Snapshot::Runner.new.work(clean: !options.noclean, build: !options.nobuild)
end
end
end
command :init do |c|
\ No newline at end of file