diff --git a/gulpfile.js b/gulpfile.js index 7c7c5bb96..60451192f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -71,5 +71,5 @@ gulp.task('watch', () => { }); gulp.task('watch-behat', () => { - gulp.watch(['./src/**/*.feature', './local-moodleappbehat'], { interval: 500 }, gulp.parallel('behat')); + gulp.watch(['./src/**/*.feature', './local_moodleappbehat'], { interval: 500 }, gulp.parallel('behat')); }); diff --git a/local-moodleappbehat/classes/output/mobile.php b/local_moodleappbehat/classes/output/mobile.php similarity index 100% rename from local-moodleappbehat/classes/output/mobile.php rename to local_moodleappbehat/classes/output/mobile.php diff --git a/local-moodleappbehat/classes/privacy/provider.php b/local_moodleappbehat/classes/privacy/provider.php similarity index 100% rename from local-moodleappbehat/classes/privacy/provider.php rename to local_moodleappbehat/classes/privacy/provider.php diff --git a/local-moodleappbehat/db/mobile.php b/local_moodleappbehat/db/mobile.php similarity index 100% rename from local-moodleappbehat/db/mobile.php rename to local_moodleappbehat/db/mobile.php diff --git a/local-moodleappbehat/js/mobile/index.js b/local_moodleappbehat/js/mobile/index.js similarity index 100% rename from local-moodleappbehat/js/mobile/index.js rename to local_moodleappbehat/js/mobile/index.js diff --git a/local-moodleappbehat/lang/en/local_moodleappbehat.php b/local_moodleappbehat/lang/en/local_moodleappbehat.php similarity index 100% rename from local-moodleappbehat/lang/en/local_moodleappbehat.php rename to local_moodleappbehat/lang/en/local_moodleappbehat.php diff --git a/local-moodleappbehat/tests/behat/behat_app.php b/local_moodleappbehat/tests/behat/behat_app.php similarity index 100% rename from local-moodleappbehat/tests/behat/behat_app.php rename to local_moodleappbehat/tests/behat/behat_app.php diff --git a/local-moodleappbehat/tests/behat/behat_app_helper.php b/local_moodleappbehat/tests/behat/behat_app_helper.php similarity index 100% rename from local-moodleappbehat/tests/behat/behat_app_helper.php rename to local_moodleappbehat/tests/behat/behat_app_helper.php diff --git a/local-moodleappbehat/tests/behat/behat_performance.php b/local_moodleappbehat/tests/behat/behat_performance.php similarity index 100% rename from local-moodleappbehat/tests/behat/behat_performance.php rename to local_moodleappbehat/tests/behat/behat_performance.php diff --git a/local-moodleappbehat/tests/behat/classes/performance_measure.php b/local_moodleappbehat/tests/behat/classes/performance_measure.php similarity index 100% rename from local-moodleappbehat/tests/behat/classes/performance_measure.php rename to local_moodleappbehat/tests/behat/classes/performance_measure.php diff --git a/local-moodleappbehat/version.php b/local_moodleappbehat/version.php similarity index 100% rename from local-moodleappbehat/version.php rename to local_moodleappbehat/version.php diff --git a/scripts/build-behat-plugin.js b/scripts/build-behat-plugin.js index dad19ff1a..e5a7aebfb 100755 --- a/scripts/build-behat-plugin.js +++ b/scripts/build-behat-plugin.js @@ -56,7 +56,7 @@ async function main() { // Copy plugin template. const { version: appVersion } = require(projectPath('package.json')); - const templatePath = projectPath('local-moodleappbehat'); + const templatePath = projectPath('local_moodleappbehat'); for await (const file of getDirectoryFiles(templatePath)) { if (isExcluded(file, exclusions)) {