mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-03 16:04:30 +00:00
13 lines
216 B
Bash
Executable File
13 lines
216 B
Bash
Executable File
#!/bin/bash
|
|
|
|
root_path="$(cd "$(dirname "$0")/.." || exit ; pwd -P)"
|
|
task=$1
|
|
|
|
shift
|
|
|
|
if [[ -d "${root_path}/ee/" || "${DECOMPOSED_DB}" == "true" ]]; then
|
|
task="${task}:main"
|
|
fi
|
|
|
|
eval "bundle exec rake ${task} ${*}"
|