Connector per Mobilizon ti permette di visualizzare i prossimi eventi di Mobilizon sul tuo sito WordPress.
https://mobilizon.it
72f2c12343 | ||
---|---|---|
assets | ||
source/connector-mobilizon | ||
.eslintrc.json | ||
.gitignore | ||
README.md | ||
composer.json | ||
composer.lock | ||
gulpfile.js | ||
package-lock.json | ||
package.json |
README.md
Connector for Mobilizon
Connector for Mobilizon allows you to display the upcoming events of Mobilizon, which is a federated event listing platform, on your WordPress website.
More details can be found in the WordPress Plugin Directory.
Development
Setup
- Make sure
npm
andcomposer
are installed. - Run:
npm install
- Run:
php composer.phar install
Development build
- Build:
npm run build-dev
- Make sure to keep
changelog.txt
up-to-date.
Release procedure
- Make sure
changelog.txt
is up-to-date. Use a new version number and copy over the new section intoreadme.txt
. - Update
package.json
with the same version number. - Build:
npm run build-prod
- Determine minimum PHP version for code and update package.json if needed:
./vendor/bin/phpcompatinfo analyser:run ./source
- Make sure screenshots are up-to-date.
- Copy the built plugin into
/trunk
of SVN. - Create a new tag of the new version:
svn cp trunk tags/<version>
- Check the version number occurences in both folders.
- Commit everything together:
svn ci -m "release version <version>"
- Tag the new version in
git
too.
Other commands
- Run ESLint:
npm run eslint
- Run JavaScript code coverage with tests:
npm run coverage
- Run tests:
npm test
- Delete build folder:
gulp clean