2021-01-09 20:34:36 +01:00
|
|
|
# Connector for Mobilizon
|
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`.
|
|
|
|
2. Build: `npm run build-prod`
|
|
|
|
3. Determine minimum PHP version for code and update package.json if needed: `./vendor/bin/phpcompatinfo analyser:run ./source`
|
|
|
|
4. Make sure screenshots are up-to-date.
|
2021-01-08 14:08:40 +01:00
|
|
|
|
|
|
|
### Other commands
|
|
|
|
- Run tests: `npm test`
|
|
|
|
- Delete build folder: `gulp clean`
|