Remove deprecated grunt code (#9506)

GitOrigin-RevId: 2b19d73c593545aaa9f6eb88143d08c5df39a1be
This commit is contained in:
Alf Eaton
2022-09-15 13:09:10 +01:00
committed by Copybot
parent 7ce229be0c
commit c41c14c697
8 changed files with 6 additions and 176 deletions

View File

@@ -2,6 +2,7 @@
# Thin wrapper on old grunt tasks to ease migrating.
set -e
set -x
TASK="$1"
shift 1
@@ -9,18 +10,22 @@ cd /overleaf/services/web
case "$TASK" in
user:create-admin)
echo "The grunt command is deprecated, run the create-user script using node instead"
node modules/server-ce-scripts/scripts/create-user --admin "$@"
;;
user:delete)
echo "The grunt command is deprecated, run the delete-user script using node instead"
node modules/server-ce-scripts/scripts/delete-user "$@"
;;
check:mongo)
echo "The grunt command is deprecated, run the check-mongodb script using node instead"
node modules/server-ce-scripts/scripts/check-mongodb
;;
check:redis)
echo "The grunt command is deprecated, run the check-redis script using node instead"
node modules/server-ce-scripts/scripts/check-redis
;;