Skip to content

Commit

Permalink
[tooling] fixed bundle folder name
Browse files Browse the repository at this point in the history
  • Loading branch information
mk-kialo committed Oct 15, 2024
1 parent f6fa21e commit 1dba3db
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion development/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
moodle/
moodle_mod/
.env

## Bundle
Expand Down
4 changes: 2 additions & 2 deletions development/bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..
Expand Down
2 changes: 1 addition & 1 deletion development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion development/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."

0 comments on commit 1dba3db

Please sign in to comment.