phar-io / phive

The Phar Installation and Verification Environment (PHIVE)
https://phar.io
BSD 3-Clause "New" or "Revised" License
571 stars 44 forks source link

https://phar.io/phive 404 #407

Closed dangoodman closed 1 year ago

dangoodman commented 1 year ago

phive.xml schema – https://phar.io/phive – is not available

Could not find any description of the phive.xml format. How do I configure a custom tools dir location?

theseer commented 1 year ago

Three options:

  1. Upon install: phive install -t path foo
  2. Edit phive.xml / .phive/phars.xml and change the location attribute
  3. Edit phive.xml / .phive/phars.xml and add <configuration><targetDirectory>path/here</targetDirectory></configuration> into phive root element
dangoodman commented 1 year ago

Thank you for the quick response.

I believe publishing the schema at https://phar.io/phive might help people to self-discover the available configuration options (case 3). Especially considering the modern IDEs' autocompletion for XML documents with a downloadable schema.

theseer commented 1 year ago

I agrree.