ad1ce4fc2f
This is in service of getting javascript tarball jobs going. Change-Id: I20b4b4ce0bdf03c5585ca73471611178c94e2599
16 lines
423 B
ReStructuredText
16 lines
423 B
ReStructuredText
Run npm command in a source directory. Assumes the appropriate version
|
|
of npm has been installed.
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: npm_command
|
|
|
|
Command to run. If it's a standard npm lifecycle command, it will be run as
|
|
``npm {{ npm_command }}``. Otherwise it will be run as
|
|
``npm run {{ npm_command }}``.
|
|
|
|
.. zuul:rolevar:: zuul_work_dir
|
|
:default: {{ zuul.project.src_dir }}
|
|
|
|
Directory to run npm in.
|