2021-01-09 20:34:36 +01:00
# Connector for Mobilizon
2021-01-08 14:08:40 +01:00
2021-04-05 17:18:02 +02:00
Connector for Mobilizon allows you to display the upcoming events of [Mobilizon ](https://joinmobilizon.org/ ), which is a federated event listing platform, on your WordPress website.
2021-03-28 22:14:29 +02:00
2021-03-28 22:21:09 +02:00
More details can be found in the [WordPress Plugin Directory ](https://wordpress.org/plugins/connector-mobilizon/ ).
2021-03-28 22:14:29 +02:00
2021-01-08 14:08:40 +01:00
## Development
### Setup
1. Make sure `npm` and `composer` are installed.
2. Run: `npm install`
3. Run: `php composer.phar install`
### Development build
1. Build: `npm run build-dev`
2021-01-10 11:53:51 +01:00
2. Make sure to keep `changelog.txt` up-to-date.
2021-01-08 14:08:40 +01:00
### Release procedure
2021-01-10 11:53:51 +01:00
1. Make sure `changelog.txt` is up-to-date. Use a new version number and copy over the new section into `readme.txt` .
2021-01-16 15:21:16 +01:00
2. Update `package.json` with the same version number.
3. Build: `npm run build-prod`
4. Determine minimum PHP version for code and update package.json if needed: `./vendor/bin/phpcompatinfo analyser:run ./source`
5. Make sure screenshots are up-to-date.
2021-03-10 16:40:14 +01:00
6. Copy the built plugin into `/trunk` of SVN.
7. Create a new tag of the new version: `svn cp trunk tags/<version>`
8. Check the version number occurences in both folders.
9. Commit everything together: `svn ci -m "release version <version>"`
2021-03-28 22:31:16 +02:00
10. Tag the new version in `git` too.
2021-01-08 14:08:40 +01:00
### Other commands
2021-04-05 17:53:47 +02:00
- Run ESLint: `npm run eslint`
2021-01-08 14:08:40 +01:00
- Run tests: `npm test`
- Delete build folder: `gulp clean`