diff --git a/.gitignore b/.gitignore index 8e46d5a..9a9034e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ ebin rel/example_project .concrete/DEV_MODE .rebar +rebar3 +_build/ diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml deleted file mode 100644 index e96534f..0000000 --- a/.idea/uiDesigner.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9145ee5 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +.PHONY: all clean deps distclean compile rebar + +# allow rebar binary to be set via environment variable +REBAR ?= ./rebar3 + +all: + @$(REBAR) get-deps compile + +deps: + @$(REBAR) get-deps + +clean: + @$(REBAR) clean + +distclean: clean + @$(REBAR) delete-deps + +compile: + @$(REBAR) compile + +rebar: + wget https://s3.amazonaws.com/rebar3/rebar3 + chmod +x rebar 3 + diff --git a/README.md b/README.md index 7cce4ef..c24e115 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # escaliot Library on top of escalus for the IoT over XMPP + +```bash +make rebar3 +make +``` diff --git a/rebar b/rebar deleted file mode 100755 index 9b83aa7..0000000 Binary files a/rebar and /dev/null differ diff --git a/rebar.config b/rebar.config index 3374ed6..455011d 100644 --- a/rebar.config +++ b/rebar.config @@ -1,10 +1,10 @@ {erl_opts, [debug_info, {i, ["include"]}]}. -{require_otp_vsn, "R?1[4567]"}. +{minimum_otp_vsn, "17.0"}. {deps, [ - {escalus, "2\.6.\.*", {git, "git://github.com/esl/escalus.git", "29fcd0baed990d5e6b1fa2c3fd166f82d19dfe67"}}, - {exml, "2\.1\..*", {git, "git://github.com/esl/exml.git", {tag, "2.1.5"}}} + {escalus, {git, "git://github.com/esl/escalus.git", {tag, "3.0.1"}}}, + {exml, {git, "git://github.com/esl/exml.git", {tag, "2.4.1"}}} ]}. diff --git a/rebar.lock b/rebar.lock new file mode 100644 index 0000000..7d987fb --- /dev/null +++ b/rebar.lock @@ -0,0 +1,36 @@ +[{<<"base16">>, + {git,"git://github.com/goj/base16.git", + {ref,"ec420aa4ce0fb971f155274c606e00188a2ed37d"}}, + 1}, + {<<"escalus">>, + {git,"git://github.com/esl/escalus.git", + {ref,"a9d13d7cb62b9bf4daafe2ff5756ebb08eb9a6a6"}}, + 0}, + {<<"exml">>, + {git,"git://github.com/esl/exml.git", + {ref,"06e743197a519e86e7faef6b938e09e80cddeaa3"}}, + 0}, + {<<"fusco">>, + {git,"git://github.com/esl/fusco.git", + {ref,"0a428471aefb3a38207c2141249181e6c018e565"}}, + 1}, + {<<"hamcrest">>, + {git,"https://github.com/basho/hamcrest-erlang.git", + {ref,"98bc7aa19ea081478c816824aa05fc5a48acae66"}}, + 2}, + {<<"meck">>, + {git,"git://github.com/eproxus/meck.git", + {ref,"dde759050eff19a1a80fd854d7375174b191665d"}}, + 1}, + {<<"mustache">>, + {git,"git://github.com/mojombo/mustache.erl.git", + {ref,"d0246fe143058b6404f66cf99fece3ff6e87b7ed"}}, + 1}, + {<<"wsecli">>, + {git,"git://github.com/esl/wsecli.git", + {ref,"a89054cf71c5ee9e780998e5acb2a78fd3419dd9"}}, + 1}, + {<<"wsock">>, + {git,"https://github.com/esl/wsock", + {ref,"251e18b80c018bb5a6e2f1bbd9bcfcc92e1d9383"}}, + 2}].