wp-foo-bar icon indicating copy to clipboard operation
wp-foo-bar copied to clipboard

Remove *nix platform dependency from development tooling

Open kasparsd opened this issue 5 years ago • 0 comments

The current local development tooling requires bash, grep, awk and other unix specific tools to be available on the host machine.

Most of the commands defined under /bin can be moved into npm scripts that are cross-platform and have Node.js as the only dependency.

  • This is a WordPress specific software library so our primitives are PHP, JS and web technologies in general. We should try to use those for scripting needs, too.

  • Using JS scripts for development tasks ensures we can use the same linting and coding standards as the rest of the project. We get automatic error checking, etc.

  • Scripts that can't be replaced without a lot of development effort (like tag-built.sh) could be run inside the Docker environment instead.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry

kasparsd avatar May 21 '20 05:05 kasparsd