зеркало из https://github.com/mozilla/treeherder.git
Bug 1343624 - Vagrant: Run yarn install during provision
This will give a working environment out of the box, which will be necessary once the Neutrino work lands in bug 1336556.
This commit is contained in:
Родитель
51c386ee21
Коммит
c77f8ff85c
|
@ -15,4 +15,13 @@ class nodejs {
|
|||
require => Package['nodejs'],
|
||||
}
|
||||
|
||||
exec{"yarn-install":
|
||||
cwd => "${PROJ_DIR}",
|
||||
user => "${APP_USER}",
|
||||
# We have to use `--no-bin-links` to work around symlink issues with Windows hosts.
|
||||
# TODO: Switch the flag to a global yarn pref once yarn adds support.
|
||||
command => "yarn install --no-bin-links",
|
||||
require => Package['yarn'],
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче