mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user