Esy: Automatically configure "install" commands for package with *.install file present

Created on 25 Dec 2017  Â·  4Comments  Â·  Source: esy/esy

If a package has a single *.install file in the source tree and don't have "esy.install" configuration in package.json then we could configure "esy.install" to be esy-installer invocation.

We would need to have esy-installer as a dependency of esy in that case (also inject it into an ejected buid) — this is the hard part.

This should be done in esy-build-package.

enhancement good first issue

Most helpful comment

I started looking into this.

All 4 comments

Also, do you think esy-installer should just come out of the box, without it ever having to be configured as a dependency? (Only challenge is if we need to version it)

@kennetpostigo had the same feedback about the install field when trying esy out the first time.
Nearly every package I've made so far has this default, and is hardly ever customized.

I started looking into this.

Whoever wants to tackle this one (you or @ELLIOTTCABLE) please let me know and I'll mark you assigned. This other task is related too, both of them fairly easy I think.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jaredly picture jaredly  Â·  7Comments

zartstrom picture zartstrom  Â·  3Comments

bryphe picture bryphe  Â·  3Comments

bryphe picture bryphe  Â·  6Comments

dejanr picture dejanr  Â·  6Comments