nkkollaw / zubr

Wrapper library to fix inconsistencies in PHP's core functions
MIT License
99 stars 6 forks source link

Add build script. Fixes #105, #106 #109

Closed nkkollaw closed 7 years ago

nkkollaw commented 7 years ago

I've implemented a primitive build script. At the moment it just concatenates our functions, but we can make it do more stuff in the future as needed.

Since we're concatenating, I removed the functions.php file. It's of course no longer necessary to manually add functions there.

To run the script:

composer run-script build

You should see a new file dist/zubr.php with all functions. If everything works, we can enable building automatically via Travis I have also enabled building automatically via Travis, must check if everything works smoothly.

NOTE: I'm assuming PHP is php (not sure if we should support other configurations, I'm open to suggestions).