← Back to issue list

Allow specifying npm run steps declaratively

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1808807
Type
issue
State
open
Author
~ev
Labels
Created
2018-12-17 12:56:50.786975+00:00
Updated
2018-12-17 12:56:50.786975+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Today you have to do this: ``` plugin: nodejs override-build: | PATH=../npm/bin:$PATH yarn run build snapcraftctl build ``` Ideally this would be something like: ``` plugin: nodejs nodejs-scripts: - build ``` Discovered while snapping https://github.com/eykrehbein/strest

Evaluation history

No evaluation history available.