Skip to content

Commit c22d7dd

Browse files
committed
Add more to dev section of README
1 parent bd08d1c commit c22d7dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ you can build the plugin with your changes by running
5757
`nix build .#plugin`.
5858
This 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+
6064
If you make changes to composer.json, or composer.lock,
6165
you will need to update the vendorHashes in flake.nix
6266
by running
@@ -70,6 +74,9 @@ The WordPress site is available at
7074
`http://localhost:8888`
7175
with 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

7582
To run the tests, run `nix flake check ./dev` from

0 commit comments

Comments
 (0)