From 474e6df3504e519585d576338b4d2060aef8328b Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 5 Jul 2022 17:50:16 +0200 Subject: [PATCH] MOBILE-4110 behat: Rename plugin to frankenstyle --- gulpfile.js | 2 +- .../classes/output/mobile.php | 0 .../classes/privacy/provider.php | 0 {local-moodleappbehat => local_moodleappbehat}/db/mobile.php | 0 .../js/mobile/index.js | 0 .../lang/en/local_moodleappbehat.php | 0 .../tests/behat/behat_app.php | 0 .../tests/behat/behat_app_helper.php | 0 .../tests/behat/behat_performance.php | 0 .../tests/behat/classes/performance_measure.php | 0 {local-moodleappbehat => local_moodleappbehat}/version.php | 0 scripts/build-behat-plugin.js | 2 +- 12 files changed, 2 insertions(+), 2 deletions(-) rename {local-moodleappbehat => local_moodleappbehat}/classes/output/mobile.php (100%) rename {local-moodleappbehat => local_moodleappbehat}/classes/privacy/provider.php (100%) rename {local-moodleappbehat => local_moodleappbehat}/db/mobile.php (100%) rename {local-moodleappbehat => local_moodleappbehat}/js/mobile/index.js (100%) rename {local-moodleappbehat => local_moodleappbehat}/lang/en/local_moodleappbehat.php (100%) rename {local-moodleappbehat => local_moodleappbehat}/tests/behat/behat_app.php (100%) rename {local-moodleappbehat => local_moodleappbehat}/tests/behat/behat_app_helper.php (100%) rename {local-moodleappbehat => local_moodleappbehat}/tests/behat/behat_performance.php (100%) rename {local-moodleappbehat => local_moodleappbehat}/tests/behat/classes/performance_measure.php (100%) rename {local-moodleappbehat => local_moodleappbehat}/version.php (100%) 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)) {