1. add pbkdf2 secure password hasher 2. acl table should like |username|topic|rw| in mysql where rw=1 means read, rw=2 means write, where username = '*' means any user's username in this change 3. note plugin.config no work here, but this is a working diff when default value is right
33 lines
320 B
Makefile
Executable File
33 lines
320 B
Makefile
Executable File
REBAR?=./rebar
|
|
|
|
|
|
all: build
|
|
|
|
|
|
clean:
|
|
$(REBAR) clean
|
|
rm -rf logs
|
|
rm -rf .eunit
|
|
rm -f test/*.beam
|
|
|
|
|
|
distclean: clean
|
|
git clean -fxd
|
|
|
|
build: depends
|
|
$(REBAR) compile
|
|
|
|
|
|
eunit:
|
|
$(REBAR) eunit skip_deps=true
|
|
|
|
|
|
check: build eunit
|
|
|
|
|
|
%.beam: %.erl
|
|
erlc -o test/ $<
|
|
|
|
|
|
.PHONY: all clean distclean depends build eunit check
|