phpfu / puphpet-installer

Provides a composer custom installer that works with `loadsys/puphpet-release` to add a PuPHPet.com vagrant box to a project via composer.
MIT License
2 stars 1 forks source link

F/true folder mirroring #8

Closed beporter closed 9 years ago

beporter commented 9 years ago

Closes #6.

Also makes #5 more of an issue now since any scripts added to the puphpet/files/ subdir will now be removed during composer update (and they aren't tracked!)

3 is a bigger issue because on initial composer install this package will remove any existing puphpet/** files that may have existing (instead of leaving them alone like before.)

The upshot is that this process should theoretically be quicker and less intensive than copying all of the release/ files every time.

Finally, as a side-effect, this PR introduces a much-streamlined testing process, and preps this repo for testing via Travis. (Ref: ./test/simulate-composer-install.sh -t master)

beporter commented 9 years ago

I dumped a bunch of unit and integration testing into this PR. The package tests through Travis now, both via phpunit tests against the composer installer classes, and as an "integration" test that runs as a part of the helper bash script that verifies specific actions are performed as a result of having run the installer.