lib/linner/command.rb in linner-0.7.1 vs lib/linner/command.rb in linner-0.7.2
- old
+ new
@@ -32,11 +32,17 @@
end
puts "🍵 : Perfect installed all bundles!"
end
desc "build", "build assets"
+ method_option :strict,
+ type: :boolean,
+ default: false,
+ aliases: "-s",
+ desc: "Use strict mode to replace revisiton."
def build
Linner.compile = true
+ Linner.strict = true if options[:strict]
clean
Bundler.new(env.bundles).perform
perform
end