wplib-box icon indicating copy to clipboard operation
wplib-box copied to clipboard

Get rid of duplicated `project.json` in box.rb

Open mikeschinkel opened this issue 7 years ago • 2 comments

Default project.json should come from wplib/box-scripts not be hardcoded within box.rb.

mikeschinkel avatar Aug 17 '18 05:08 mikeschinkel

Maybe do a simple wget of https://raw.githubusercontent.com/wplib/box-scripts/master/etc/releases/${VERSION}/project.json

MickMake avatar Aug 18 '18 00:08 MickMake

@MickMake wget is not on Mac by default, and curl is not on Windows by default.

Ideally we'd pull it out of the box, if possible, unless there is a chicken-or-egg problem.

Alternately I can hopefully find a Ruby solution that will run inside Vagrant to do an HTTP GET, maybe this.

mikeschinkel avatar Aug 18 '18 00:08 mikeschinkel