al-quran.reflectslight.io/rake/tasks/ci.rake
0x1eef 20fb969959 Update loaders
Plus configure prettier to run via eslint. That makes it easier
to hide certain blocks of code from the linter.
2024-06-09 15:28:35 -03:00

17 lines
279 B
Ruby

# frozen_string_literal: true
desc "Run CI tasks"
task :ci do
##
# format
sh "bundle exec rubocop"
sh "npm exec eslint -- src/js/"
##
# tsc
sh "npm run tsc"
##
# build
Bundler.with_original_env { sh "buildenv=production rake nanoc:clean nanoc:build" }
end