Skip to content
Dylan Kuhn edited this page Jun 19, 2017 · 3 revisions

Geo Mashup has adopted a motley array of development tools over the years. Better choices are always becoming available, expect migrations to new tools from time to time.

Dependency management with Composer

As of Geo Mashup 1.9.1 Composer is used for dependency management. Once installed in your environment, composer install in a fresh checkout will install both production and development dependencies in the standard vendor folder.

Testing with PHPUnit

There are some functional tests that make use of the WordPress test framework. ./tools/install-wp-tests.sh will install that, then composer test will execute tests.

Building with Node.js and Yarn

As of Geo Mashup 1.10.1 Node.js and Yarn are used for build and development tasks (replacing Apache Ant). Once installed in your environment, yarn install will install development dependencies, yarn makepot will generate a new language template file, yarn build will assemble a distribution in ./dist.