Rename workhorse binary to gitlab-workhorse
This commit is contained in:
parent
ac1c9f9ba3
commit
1a25c27275
1 changed files with 4 additions and 0 deletions
4
debian/rules
vendored
4
debian/rules
vendored
|
@ -13,6 +13,10 @@ override_dh_auto_configure:
|
||||||
cp -r workhorse _build/src/gitlab.com/gitlab-org/gitlab
|
cp -r workhorse _build/src/gitlab.com/gitlab-org/gitlab
|
||||||
if [ -d workhorse-vendor ]; then mv workhorse-vendor _build/src/gitlab.com/gitlab-org/gitlab/workhorse/vendor; fi
|
if [ -d workhorse-vendor ]; then mv workhorse-vendor _build/src/gitlab.com/gitlab-org/gitlab/workhorse/vendor; fi
|
||||||
|
|
||||||
|
execute_after_dh_auto_build:
|
||||||
|
# Rename binary to gitlab-workhorse (upstream is passing -o in Makefile)
|
||||||
|
if [ -f _build/bin/workhorse ]; then mv _build/bin/workhorse _build/bin/gitlab-workhorse; fi
|
||||||
|
|
||||||
override_dh_auto_test:
|
override_dh_auto_test:
|
||||||
dh_auto_test -O--package=gitlab
|
dh_auto_test -O--package=gitlab
|
||||||
PATH="$(CURDIR)/_build/bin:$$PATH" dh_auto_test -O--package=gitlab-workhorse
|
PATH="$(CURDIR)/_build/bin:$$PATH" dh_auto_test -O--package=gitlab-workhorse
|
||||||
|
|
Loading…
Reference in a new issue