-
Notifications
You must be signed in to change notification settings - Fork 311
WIP: create .phar using existing tools (composer, box.phar) #258
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
Conversation
Makefile
Outdated
| curl -LSs https://box-project.github.io/box2/installer.php | php | ||
|
|
||
| composer.phar: | ||
| curl -sS https://getcomposer.org/installer | php |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NACK on the above two curl commands. Let's instead document that developers need to install box.phar and composer in docs/InternalDeveloperDocs, and let them decide how securely they want to acquire them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
➔ PATH=/usr/bin make
Makefile:7: *** Required tool `box' not installed, see docs/InstallingAndVerifying.md. Stop.
make condition was always evaluated true
|
moved the dist making scripts to dist/ subdir, also dropped automatic download and point use to documentation if tool can not be found from local system. also to ensure dirty changes don't get into tarball, i export git tree to get clean view of committed changes. this means unwanted and not verified changes don't have chance to slip into the .phar accidentally. |
|
I incorporated this into #264, thanks! |
#257
WIP: basic concept, when accepted needs cleanups (dropping library copies and unused scripts)
box.pharINSTRUCTIONS:
commands must be run in
dist/subdir, git tree must be clean (uncommitted changes will not be "seen")makemake cleanbuild system will attempt to find tools from `$PATH` fallbacking to current dir, if these are missing they can be downloaded with: - `make composer.phar` - `make box.phar`