Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix git URL installation #546

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

szakharchenko
Copy link

These commits make it possible to install this package from a git URL.

The intended behaviour is to run the build on any install, including
from a git URL.

See also:
apiaryio/dredd#945
npm/npm#3055
Inline build instructions from Makefile to avoid dependency on make and
yarn.
@STRML
Copy link
Collaborator

STRML commented Mar 5, 2021

Thanks!

@STRML
Copy link
Collaborator

STRML commented Mar 5, 2021

Although, why avoid using make/yarn at prepare time? We want to ensure we're really using the correct build script, and this adds maintenance overhead if we change the build.

@szakharchenko
Copy link
Author

The answer to your direct question is: to allow installation from Git URLs in environments where either yarn or make are not installed; likely that's not what you wanted to hear.

I would ask the opposite question, i.e. 'why use make&yarn at all instead of having the command line mentioned in the commit go to the "build" script, and have "prepare" just run "build"?'. It's a matter of taste, and up to you really, I don't intend to force you in any way; you can always merge only the first patch, or ignore the issue entirely.

@STRML
Copy link
Collaborator

STRML commented Mar 15, 2021

Would agree with you that Make is a superfluous dependency here and isn't really used for anything that scripts can't already handle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants