File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ you can build the plugin with your changes by running
5757` nix build .#plugin ` .
5858This will create a zip file at ` result/static-deploy.zip ` .
5959
60+ There is a slightly different build for the WordPress.org repo.
61+ This has a few differences like getting updates from WordPress.org instead of from GitHub.
62+ You can build it with ` nix build .#pluginWpOrg ` .
63+
6064If you make changes to composer.json, or composer.lock,
6165you will need to update the vendorHashes in flake.nix
6266by running
@@ -70,6 +74,9 @@ The WordPress site is available at
7074` http://localhost:8888 `
7175with credentials "user" and "pass".
7276
77+ The ` release ` dir contains the ` constants.php ` files that are used for each build.
78+ [ Rector] ( https://github.com/rectorphp/rector ) rewrites the code for each build based on the defined constants.
79+
7380### Testing
7481
7582To run the tests, run ` nix flake check ./dev ` from
You can’t perform that action at this time.
0 commit comments