DEV: Remove `yarn install` during `assets:precompile` (#14166)
Instead, we'll do it alongside `bundle install` in `web.template.yml`: https://github.com/discourse/discourse_docker/pull/565
This commit is contained in:
parent
9415fecfd0
commit
0aa8798046
|
@ -240,13 +240,6 @@ def copy_ember_cli_assets
|
|||
assets = {}
|
||||
files = {}
|
||||
|
||||
log_task_duration('yarn install') {
|
||||
unless system("yarn --cwd #{ember_dir} install")
|
||||
STDERR.puts "Error running yarn install"
|
||||
exit 1
|
||||
end
|
||||
}
|
||||
|
||||
log_task_duration('ember build -prod') {
|
||||
unless system("yarn --cwd #{ember_dir} run ember build -prod")
|
||||
STDERR.puts "Error running ember build"
|
||||
|
|
Loading…
Reference in New Issue