Attention is currently required from: laforge. osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/28605 )
Change subject: debian: add packaging ......................................................................
Patch Set 1:
(2 comments)
Commit Message:
https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/28605/comment/12948558_5... PS1, Line 10: rebar3
I would simply import/backport the debian unstable rebar3 dpkg into our repo and make this package d […]
Done, rebar3 is now on obs.osmocom.org, latest and nightly, and it's used instead of downloading rebar3 with wget.
File debian/rules:
https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/28605/comment/79737fcf_9... PS1, Line 3: build:
The clean rule removes also .eunit in there (not sure if it is created?)
It does not get created, all files created by rebar3 are in _build.
and rebar3 eunit should be in the 'test' target, shouldn't it?
In theory yes, however I couldn't get 'dpkg-buildpackage -tc -uc -us' to execute that test target (or dh_test etc, tried a few names...). The desired behavior of running the tests while building the packages is also achieved by this, so since I already spent a lot of time on the packaging I left this as-is.