al-quran.reflectslight.io/rake/tasks/ci.rake

10 lines
258 B
Ruby
Raw Normal View History

2024-05-20 04:24:47 +02:00
# frozen_string_literal: true
desc "Run CI tasks"
task :ci do
sh "bundle exec rubocop"
sh "npm exec eslint -- src/js/"
sh "npm exec prettier -- --check src/js/"
2024-05-20 04:47:51 +02:00
Bundler.with_original_env { sh "buildenv=production rake nanoc:clean nanoc:build" }
2024-05-20 04:24:47 +02:00
end