Update Rules

This commit is contained in:
0x1eef 2024-04-29 10:40:00 -03:00
parent d35c0f246a
commit ddad2d5687

9
Rules
View file

@ -15,12 +15,15 @@ json_dir = File.join(Dir.getwd, "src", "json")
name_by_id = Ryo.from_json_file("#{json_dir}/nameById.json")
i18n = Ryo.from_json_file("#{json_dir}/i18n.json")
buildenv = ENV["buildenv"] || "development"
##
# Plugins
Nanoc::Webpack
.default_argv
.concat ["--config", "webpack.#{buildenv}.js"]
Nanoc::Tidy.default_options.merge!(
"-upper" => true
)
Nanoc::Tidy
.default_argv
.concat ["-upper"]
##
# See packages/typescript/postman