Premenovanie spúšťacieho skriptu
This commit is contained in:
parent
7239620574
commit
7f03a2d715
@ -7,7 +7,7 @@ runner_root="$project_root/tools/git_runner"
|
|||||||
env_file="$project_root/.env"
|
env_file="$project_root/.env"
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "Pouzitie: bash scripts/zpwiki-sync.sh {init|up|status|logs|stop}"
|
echo "Pouzitie: bash scripts/runner.sh {init|up|status|logs|stop}"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ $# -ne 1 ]]; then
|
if [[ $# -ne 1 ]]; then
|
||||||
@ -37,7 +37,7 @@ case "$1" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ ! -f "$env_file" ]]; then
|
if [[ ! -f "$env_file" ]]; then
|
||||||
echo "Najprv spusti: bash scripts/zpwiki-sync.sh init" >&2
|
echo "Najprv spusti: bash scripts/runner.sh init" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ import yaml
|
|||||||
|
|
||||||
ROOT = Path(__file__).resolve().parents[1]
|
ROOT = Path(__file__).resolve().parents[1]
|
||||||
RUNNER = ROOT / 'tools/git_runner'
|
RUNNER = ROOT / 'tools/git_runner'
|
||||||
LAUNCHER = ROOT / 'scripts/zpwiki-sync.sh'
|
LAUNCHER = ROOT / 'scripts/runner.sh'
|
||||||
FORK = 'git@git.kemt.fei.tuke.sk:jp170na/zpwiki.git'
|
FORK = 'git@git.kemt.fei.tuke.sk:jp170na/zpwiki.git'
|
||||||
UPSTREAM = 'git@git.kemt.fei.tuke.sk:KEMT/zpwiki.git'
|
UPSTREAM = 'git@git.kemt.fei.tuke.sk:KEMT/zpwiki.git'
|
||||||
|
|
||||||
@ -179,7 +179,7 @@ def test_unknown_options_never_change_fork(repositories, args):
|
|||||||
|
|
||||||
|
|
||||||
def helper_layout(root):
|
def helper_layout(root):
|
||||||
launcher=root / 'scripts/zpwiki-sync.sh'
|
launcher=root / 'scripts/runner.sh'
|
||||||
launcher.parent.mkdir()
|
launcher.parent.mkdir()
|
||||||
shutil.copy2(LAUNCHER,launcher)
|
shutil.copy2(LAUNCHER,launcher)
|
||||||
config=root / 'tools/git_runner'
|
config=root / 'tools/git_runner'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user