tapestry-cloud / tapestry

PHP static site generator using the plates template system
https://www.tapestry.cloud/
MIT License
32 stars 1 forks source link

Check previous compile version and quit if current is older #230

Closed carbontwelve closed 6 years ago

carbontwelve commented 7 years ago

If someone compiles a site with Tapestry 1.0.9 and then again with 1.0.8. Tapestry should ask if they wish to continue as things may well break.

carbontwelve commented 6 years ago

Maybe use https://github.com/sebastianbergmann/version and https://github.com/composer/semver

carbontwelve commented 6 years ago
carbontwelve commented 6 years ago

Functionality has been added. Needs tests to ensure that it doesn't break with anyone's current cache file and that the exception is output to the user when run from the command line.

carbontwelve commented 6 years ago

This is completed by PR #267