Closed Bug 1174297 Opened 9 years ago Closed 9 years ago

Add some npm helpers scripts for executing common Gaia commands

Categories

(Firefox OS Graveyard :: Gaia::Build, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.2 S14 (12june)

People

(Reporter: Eli, Assigned: Eli)

Details

(Whiteboard: [systemsfe])

Attachments

(1 file)

Some cumbersome Gaia commands require knowledge of the path in which they are located, which can change over time. We can make this simpler and resistant to path changes if we alias these to an npm script. Some good candidates are the newly-minted npmr installing of local modules and running gaia-marionette.
Here are a couple scripts based on your dev-gaia email. If you could test these out using a few common scenarios you know about, that would be great:

maps to `./node_modules/.bin/npmr install`:
$ npm run refresh

maps to `./node_modules/.bin/gaia-marionette`
$ npm run marionette
Attachment #8621801 - Flags: review?(gaye)
Comment on attachment 8621801 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/30571

Thanks!
Attachment #8621801 - Flags: review?(gaye) → review+
Landed on gaia master https://github.com/mozilla-b2g/gaia/commit/da5be921148b124145be0f7bfda2787eba5f0267
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: