mirror of
https://github.com/valitydev/holmes.git
synced 2024-11-06 01:45:25 +00:00
71cba594e3
* Bump submodule versions * Refactor build stage a bit * Add observer-cli to the mix * Separate build artifacts from repo scripts * Bump to rbkmoney/image-build@9d4d703
17 lines
447 B
Makefile
17 lines
447 B
Makefile
REBAR := $(shell which rebar3 2>/dev/null || which ./rebar3)
|
|
RELDIR := $(CURDIR)/scripts
|
|
|
|
.PHONY: all party_migration_script observer_cli
|
|
|
|
all: party_migration_script observer_cli
|
|
|
|
party_migration_script:
|
|
$(MAKE) -C $@
|
|
mkdir -p $(RELDIR)/hellgate
|
|
cp $@/_build/default/bin/migration $(RELDIR)/hellgate/party-migration
|
|
|
|
observer_cli:
|
|
cd $@ && $(REBAR) escriptize
|
|
mkdir -p $(RELDIR)
|
|
cp $@/_build/default/bin/observer_cli $(RELDIR)/observer-cli
|