michelve / software-license-manager

🔐Wordpress Software License Management. Supports WooCommerce, and WP eStore.
https://epikly.com
GNU General Public License v3.0
77 stars 27 forks source link

Build with ant #91

Closed Narimm closed 1 year ago

Narimm commented 1 year ago

Summary No code changes just a refactor

This allows a zip file to consistently be produced using ANT. To trigger simply run the default target The build will output a software-license-manager.zip file in the subdirectory target/dist. The build removes composer relater configuration files as well as *.po files which are not required for language domain. It creates a readme.txt and the main php file using text replacement using build.properties.

The creates a slimmed down zip without the cruft associated with the development environment. Additionally a number of index.html files are added for security. Vscode and other ide specific files are excluded via .gitignore.

Why a build system? Consistency

Why ANT?

Its familiar to most - has a low learning curve and is suitable for PHP.

Narimm commented 1 year ago

Updated