Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (44 sloc) 1012 Bytes
.PHONY: deps
all: compile
deps: erl_deps
compile: erl_compile python_compile java_compile
clean: erl_clean python_clean java_clean
distclean: clean
rm -rf dist
release: python_release java_release
test: erl_test
# Erlang-specific build steps
erl_deps:
@./rebar get-deps
erl_compile:
@./rebar compile
erl_clean:
@./rebar clean
erl_test: erl_compile
@./rebar eunit skip_deps=true
# Python specific build steps
python_compile:
@echo "==> Python (compile)"
@./setup.py build
python_clean:
@echo "==> Python (clean)"
@./setup.py clean
python_release: python_compile
@echo "==> Python (release)"
@python2.6 setup.py bdist_egg upload
@python2.7 setup.py bdist_egg upload
# Java specific build steps
java_compile:
@echo "==> Java (compile)"
@mvn install
java_clean:
@echo "==> Java (clean)"
@mvn clean
java_release:
@echo "==> Java"
ifeq ($(RELEASE_GPG_KEYNAME),)
@echo "RELEASE_GPG_KEYNAME must be set to release/deploy"
else
@mvn clean
@mvn deploy -Dgithub.downloads=true
endif
Jump to Line
Something went wrong with that request. Please try again.