lib/hephaestus/app_builder.rb in hephaestus-0.6.1 vs lib/hephaestus/app_builder.rb in hephaestus-0.6.2
- old
+ new
@@ -162,10 +162,10 @@
replace_in_files(destination_root, %r{(?<!yetto|sw|plugs\.yetto\.)app(?!lication|/|roximate)}, short_app_name.downcase)
replace_in_file("test/support/api.rb", "/app/", "/#{short_app_name.downcase}/")
replace_in_files(destination_root, "PlugApp", app_name.underscore.camelcase)
replace_in_files(destination_root, "plug-app", app_name.dasherize)
- replace_in_files("destination_root}/.github/workflows/test.yml", "plug-app", app_name.dasherize)
+ replace_in_files("#{destination_root}/.github/workflows", "plug-app", app_name.dasherize)
replace_in_files(destination_root, "PLUG_APP", app_name.underscore.upcase)
replace_in_files(destination_root, "plug_app", app_name.underscore)
# these are erroneously changed
replace_in_file("script/server", "/usr/src/#{short_app_name.downcase}", "/usr/src/app")