We already have a similar command ./do delete:docker which removes everything
related to docker for test environment including images.
This is an overkill in case one wants to do just basic cleanup of container and volumes e.g. to allow
activation of a different version of WooCommerce
[MAILPOET-4572]
./do test:woo-integration - runs test from Woo group with and activate plugins
./do test:base-integration - runs test without Woo group with and doesn't activate plugins
[MAILPOET-4566]
This commit fixes a small error in the logic to create the lang dir
inside the Robo command to get the mailpoet.pot file from the CircleCI
build.
The old code would always return false and thus ways try to create the
directory mailpoet/lang as the path 'mailpoet/lang' is not a file and it
is wrong. To fix this problem `is_file()` was replaced with
`file_exists()` and the correct path was passed to the function (__DIR__
. '/lang' instead of 'mailpoet/lang').
[MAILPOET-4173]
This commit removes references to CircleCI from the command that gets
the .pot file from the CircleCI release build. I'm doing this based on
review feedback in case in the future we decide to get the .pot file
from a different source.
[MAILPOET-4173]
This commit changes the Robo command release:publish to use the
mailpoet.pot file that is present in the zip file in the release branch
of the CircleCI build. Before we were using the mailpoet.pot file
present in the local repository, which meant it could contain undesired
local changes that should not be included when creating a new MailPoet
release.
A new Robo command was created to get the zip file from CircleCI called
translations:get-pot-file-from-circle-ci. The old translations:build was
preserved as it is used inside mailpoet/build.sh.
[MAILPOET-4173]
- Convert date.js to typescript and define types
- Fix test script to include ts tests as well
- Make eslint for ts tests work correct and recognize mocha
[MAILPOET-4023]