Current section
4 Versions
Jump to
Current section
4 Versions
Compare versions
7
files changed
+61
additions
-116
deletions
| @@ -0,0 +1,26 @@ | |
| 1 | + PROJECT = lasse |
| 2 | + |
| 3 | + SHELL_DEPS = sync |
| 4 | + TEST_DEPS = cowboy shotgun meck katana mixer |
| 5 | + BUILD_DEPS = inaka_mk hexer_mk |
| 6 | + LOCAL_DEPS = common_test |
| 7 | + |
| 8 | + dep_meck = hex 0.8.4 |
| 9 | + dep_cowboy = git https://github.com/extend/cowboy.git 1.0.4 |
| 10 | + dep_shotgun = hex 0.1.15 |
| 11 | + dep_katana = hex 0.2.18 |
| 12 | + dep_mixer = git https://github.com/inaka/mixer.git 0.1.4 |
| 13 | + dep_inaka_mk = git https://github.com/inaka/inaka.mk.git 1.0.0 |
| 14 | + dep_hexer_mk = git https://github.com/inaka/hexer.mk.git 1.0.1 |
| 15 | + |
| 16 | + DEP_PLUGINS = inaka_mk hexer_mk |
| 17 | + |
| 18 | + include erlang.mk |
| 19 | + |
| 20 | + ERLC_OPTS := +warn_unused_vars +warn_export_all +warn_shadow_vars +warn_unused_import +warn_unused_function |
| 21 | + ERLC_OPTS += +warn_bif_clash +warn_unused_record +warn_deprecated_function +warn_obsolete_guard +strict_validation |
| 22 | + ERLC_OPTS += +warn_export_vars +warn_exported_vars +warn_missing_spec +warn_untyped_record +debug_info |
| 23 | + |
| 24 | + SHELL_OPTS += -s sync |
| 25 | + |
| 26 | + CT_OPTS = -cover test/cover.spec |
unknownerlang.mk
File is too large to be displayed (200 KB limit).
| @@ -1,16 +1,15 @@ | |
| 1 | - {<<"name">>,<<"lasse">>}. |
| 2 | - {<<"version">>,<<"1.0.2">>}. |
| 3 | - {<<"requirements">>, |
| 4 | - #{<<"cowboy">> => |
| 5 | - #{<<"app">> => <<"cowboy">>,<<"optional">> => false, |
| 6 | - <<"requirement">> => <<"1.0.4">>}}}. |
| 7 1 | {<<"app">>,<<"lasse">>}. |
| 8 | - {<<"maintainers">>,[<<"Inaka">>]}. |
| 9 | - {<<"precompiled">>,false}. |
| 2 | + {<<"build_tools">>,[<<"make">>]}. |
| 10 3 | {<<"description">>,<<"Lasse: Server-Sent Event handler for Cowboy.">>}. |
| 11 4 | {<<"files">>, |
| 12 | - [<<"src/lasse.app.src">>,<<"LICENSE">>,<<"README.md">>,<<"rebar.config">>, |
| 13 | - <<"rebar.lock">>,<<"src/lasse_handler.erl">>]}. |
| 5 | + [{<<"src/lasse.app.src">>, |
| 6 | + <<"/Users/elbrujohalcon/Projects/inaka/lasse/src/lasse.app.src">>}, |
| 7 | + {<<"src/lasse_handler.erl">>, |
| 8 | + <<"/Users/elbrujohalcon/Projects/inaka/lasse/src/lasse_handler.erl">>}, |
| 9 | + {<<"Makefile">>,<<"/Users/elbrujohalcon/Projects/inaka/lasse/Makefile">>}, |
| 10 | + {<<"erlang.mk">>,<<"/Users/elbrujohalcon/Projects/inaka/lasse/erlang.mk">>}, |
| 11 | + {<<"README.md">>,<<"/Users/elbrujohalcon/Projects/inaka/lasse/README.md">>}, |
| 12 | + {<<"LICENSE">>,<<"/Users/elbrujohalcon/Projects/inaka/lasse/LICENSE">>}]}. |
| 14 13 | {<<"licenses">>,[<<"Apache 2.0">>]}. |
| 15 14 | {<<"links">>, |
| 16 15 | [{<<"Github">>,<<"https://github.com/inaka/lasse">>}, |
| @@ -18,4 +17,7 @@ | |
| 18 17 | <<"https://github.com/inaka/lasse/tree/master/examples/ping_pong">>}, |
| 19 18 | {<<"SSE Spec">>, |
| 20 19 | <<"https://html.spec.whatwg.org/multipage/comms.html#server-sent-events">>}]}. |
| 21 | - {<<"build_tools">>,[<<"rebar">>]}. |
| 20 | + {<<"maintainers">>,[<<"Inaka">>]}. |
| 21 | + {<<"name">>,<<"lasse">>}. |
| 22 | + {<<"precompiled">>,false}. |
| 23 | + {<<"version">>,<<"1.1.0">>}. |
| @@ -1,78 +0,0 @@ | |
| 1 | - %% -*- mode: erlang;erlang-indent-level: 2;indent-tabs-mode: nil -*- |
| 2 | - %% ex: ts=4 sw=4 ft=erlang et |
| 3 | - |
| 4 | - %% == Erlang Compiler == |
| 5 | - |
| 6 | - %% Erlang compiler options |
| 7 | - {erl_opts, [ warn_unused_vars |
| 8 | - , warnings_as_errors |
| 9 | - , ewarn_export_all |
| 10 | - , warn_shadow_vars |
| 11 | - , warn_unused_import |
| 12 | - , warn_unused_function |
| 13 | - , warn_bif_clash |
| 14 | - , warn_unused_record |
| 15 | - , warn_deprecated_function |
| 16 | - , warn_obsolete_guard |
| 17 | - , strict_validation |
| 18 | - , warn_export_vars |
| 19 | - , warn_exported_vars |
| 20 | - , warn_missing_spec |
| 21 | - , warn_untyped_record |
| 22 | - , debug_info |
| 23 | - ]}. |
| 24 | - |
| 25 | - %% == Dependencies == |
| 26 | - |
| 27 | - {deps, [{cowboy, "1.0.4"}]}. |
| 28 | - |
| 29 | - %% == Profiles == |
| 30 | - |
| 31 | - {profiles, [ |
| 32 | - {test, [ |
| 33 | - {deps, [ {shotgun, "0.2.3"} |
| 34 | - , {meck, "0.8.4"} |
| 35 | - , {katana, "0.4.0"} |
| 36 | - , {katana_test, "0.1.1"} |
| 37 | - , {mixer, "0.1.5", {pkg, inaka_mixer}} |
| 38 | - ]} |
| 39 | - ]} |
| 40 | - ]}. |
| 41 | - |
| 42 | - %% == Common Test == |
| 43 | - |
| 44 | - {ct_compile_opts, [ warn_unused_vars |
| 45 | - , warn_export_all |
| 46 | - , warn_shadow_vars |
| 47 | - , warn_unused_import |
| 48 | - , warn_unused_function |
| 49 | - , warn_bif_clash |
| 50 | - , warn_unused_record |
| 51 | - , warn_deprecated_function |
| 52 | - , warn_obsolete_guard |
| 53 | - , strict_validation |
| 54 | - , warn_export_vars |
| 55 | - , warn_exported_vars |
| 56 | - , warn_missing_spec |
| 57 | - , warn_untyped_record |
| 58 | - , debug_info |
| 59 | - ]}. |
| 60 | - |
| 61 | - %% == Cover == |
| 62 | - |
| 63 | - {cover_enabled, true}. |
| 64 | - |
| 65 | - {cover_opts, [verbose]}. |
| 66 | - |
| 67 | - %% == Dialyzer == |
| 68 | - |
| 69 | - {dialyzer, [ {warnings, [ no_return |
| 70 | - , unmatched_returns |
| 71 | - , error_handling |
| 72 | - , unknown |
| 73 | - ]} |
| 74 | - , {plt_apps, top_level_deps} |
| 75 | - , {plt_extra_apps, []} |
| 76 | - , {plt_location, local} |
| 77 | - , {base_plt_apps, [erts, stdlib, kernel]} |
| 78 | - , {base_plt_location, global}]}. |
| @@ -1,10 +0,0 @@ | |
| 1 | - {"1.1.0", |
| 2 | - [{<<"cowboy">>,{pkg,<<"cowboy">>,<<"1.0.4">>},0}, |
| 3 | - {<<"cowlib">>,{pkg,<<"cowlib">>,<<"1.0.2">>},1}, |
| 4 | - {<<"ranch">>,{pkg,<<"ranch">>,<<"1.4.0">>},1}]}. |
| 5 | - [ |
| 6 | - {pkg_hash,[ |
| 7 | - {<<"cowboy">>, <<"A324A8DF9F2316C833A470D918AAF73AE894278B8AA6226CE7A9BF699388F878">>}, |
| 8 | - {<<"cowlib">>, <<"9D769A1D062C9C3AC753096F868CA121E2730B9A377DE23DEC0F7E08B1DF84EE">>}, |
| 9 | - {<<"ranch">>, <<"10272F95DA79340FA7E8774BA7930B901713D272905D0012B06CA6D994F8826B">>}]} |
| 10 | - ]. |
Loading more files…