Closed rcstr closed 4 months ago
Part of https://github.com/Automattic/woocommerce.com/issues/20009
PR adds a basic zip file validation command. Validation is based on:
https://github.com/Automattic/woocommerce.com/pull/20050/files#diff-d1f39d6ef6800717504f5c7dffecf7a012b52659250ba19e7b84f5dbba532c83R120-R126
make build
woo:validate-zip <path>
<path>
woo:validate-zip /Users/rommel/Projects/woocommerce.com/tests/integration/data/plugins/invalid-file-inside.zip
@Luc45 - thanks for the review. I have handled your points:
woo:validate-zip
ZIP
QIT_CLI\Woo\ZipValidator
Part of https://github.com/Automattic/woocommerce.com/issues/20009
Description
PR adds a basic zip file validation command. Validation is based on:
https://github.com/Automattic/woocommerce.com/pull/20050/files#diff-d1f39d6ef6800717504f5c7dffecf7a012b52659250ba19e7b84f5dbba532c83R120-R126
Testing instructions
make build
woo:validate-zip <path>
. Where<path>
is the path for the zip file, egwoo:validate-zip /Users/rommel/Projects/woocommerce.com/tests/integration/data/plugins/invalid-file-inside.zip
Screenshots