diff --git a/development/.gitignore b/development/.gitignore index 3534072..60675ec 100644 --- a/development/.gitignore +++ b/development/.gitignore @@ -1,5 +1,4 @@ moodle/ -moodle_mod/ .env ## Bundle diff --git a/development/bundle.sh b/development/bundle.sh index a156b96..529ab75 100755 --- a/development/bundle.sh +++ b/development/bundle.sh @@ -15,8 +15,8 @@ cd development # Create a new ZIP file rm mod_kialo.zip -rm -rf moodle_mod/vendor_extra -zip -qr mod_kialo.zip moodle_mod +rm -rf mod_kialo/vendor_extra +zip -qr mod_kialo.zip mod_kialo # restore full dependencies (including dev dependencies) cd .. diff --git a/development/docker-compose.yml b/development/docker-compose.yml index 44edb3d..e26263f 100644 --- a/development/docker-compose.yml +++ b/development/docker-compose.yml @@ -38,7 +38,7 @@ services: - TARGET_KIALO_URL=${TARGET_KIALO_URL:-http://localhost:5000} - MOODLE_HOST=http://${MOODLE_HOST:-localhost:8080} volumes: - - './moodle_mod:/var/www/html/mod/kialo' + - './mod_kialo:/var/www/html/mod/kialo' depends_on: - mariadb moodleapp: diff --git a/development/sync.sh b/development/sync.sh index 8ec55e0..a2299ed 100755 --- a/development/sync.sh +++ b/development/sync.sh @@ -2,5 +2,5 @@ cd "$(dirname "$0")" # syncs the content of the development version of this plugin to the copy in the docker moodle installation (/moodle/mod/kialo) -rsync -atm --delete --delete-excluded --exclude={'/development','/.[!.]*'} .. ./moodle_mod +rsync -atm --delete --delete-excluded --exclude={'/development','/.[!.]*'} .. ./mod_kialo echo "Synced plugin."