Makefile 376 B

123456789101112
  1. PROJECT = token_bucket
  2. PROJECT_DESCRIPTION = token_bucket RPS limitation application
  3. PROJECT_VERSION = 0.1.0
  4. include erlang.mk
  5. run:
  6. erl -pa ebin +pc unicode -args_file vm.args -config sys.config -eval 'application:start(token_bucket)'
  7. # add -pa ebin in erl .. command because no deps with nested structure
  8. # and no ERL_LIBS="apps:deps" before erl .. command
  9. .PHONY: run