Welcome to mirror list, hosted at ThFree Co, Russian Federation.

db_tasks « scripts - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 56c2eefef687a28836d1c55e34031052988b1b1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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} ${*}"