Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure all failed tasks exit with a non-zero exit code #24

Merged
merged 1 commit into from
May 22, 2022
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
4 changes: 2 additions & 2 deletions lib/tasks/build.rake
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ end
namespace :dartsass do
desc "Build your Dart Sass CSS"
task build: :environment do
system dartsass_compile_command
system dartsass_compile_command, exception: true
jacob-carlborg-apoex marked this conversation as resolved.
Show resolved Hide resolved
end

desc "Watch and build your Dart Sass CSS on file changes"
task watch: :environment do
system "#{dartsass_compile_command} -w"
system "#{dartsass_compile_command} -w", exception: true
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/install.rake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace :dartsass do
desc "Install Dart Sass into the app"
task :install do
system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../install/dartsass.rb", __dir__)}"
system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../install/dartsass.rb", __dir__)}", exception: true
end
end