Skip to content

Conversation

@glensc
Copy link
Contributor

@glensc glensc commented May 11, 2016

#257

WIP: basic concept, when accepted needs cleanups (dropping library copies and unused scripts)

  • create phar using box.phar
  • compression to use for phar (currently GZ)
  • sign phar
  • drop library copies
  • drop unused scripts

INSTRUCTIONS:

commands must be run in dist/ subdir, git tree must be clean (uncommitted changes will not be "seen")

  • to make .phar, type make
  • to cleanup, type make clean
build 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`

Makefile Outdated
curl -LSs https://box-project.github.io/box2/installer.php | php

composer.phar:
curl -sS https://getcomposer.org/installer | php
Copy link
Owner

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.

Copy link
Contributor Author

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.

@glensc
Copy link
Contributor Author

glensc commented May 12, 2016

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.

@defuse
Copy link
Owner

defuse commented May 15, 2016

I incorporated this into #264, thanks!

@defuse defuse closed this May 15, 2016
@glensc glensc mentioned this pull request May 15, 2016
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