Packages

Lasse: Server-Sent Event handler for Cowboy.

Current section

4 Versions

Jump to

Compare versions

7 files changed
+116 additions
-61 deletions
  @@ -1,26 +0,0 @@
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,15 +1,16 @@
1 + {<<"name">>,<<"lasse">>}.
2 + {<<"version">>,<<"1.1.1">>}.
3 + {<<"requirements">>,
4 + #{<<"cowboy">> =>
5 + #{<<"app">> => <<"cowboy">>,<<"optional">> => false,
6 + <<"requirement">> => <<"1.0.4">>}}}.
1 7 {<<"app">>,<<"lasse">>}.
2 - {<<"build_tools">>,[<<"make">>]}.
8 + {<<"maintainers">>,[<<"Inaka">>]}.
9 + {<<"precompiled">>,false}.
3 10 {<<"description">>,<<"Lasse: Server-Sent Event handler for Cowboy.">>}.
4 11 {<<"files">>,
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">>}]}.
12 + [<<"src/lasse.app.src">>,<<"LICENSE">>,<<"README.md">>,<<"rebar.config">>,
13 + <<"rebar.lock">>,<<"src/lasse_handler.erl">>]}.
13 14 {<<"licenses">>,[<<"Apache 2.0">>]}.
14 15 {<<"links">>,
15 16 [{<<"Github">>,<<"https://github.com/inaka/lasse">>},
  @@ -17,7 +18,4 @@
17 18 <<"https://github.com/inaka/lasse/tree/master/examples/ping_pong">>},
18 19 {<<"SSE Spec">>,
19 20 <<"https://html.spec.whatwg.org/multipage/comms.html#server-sent-events">>}]}.
20 - {<<"maintainers">>,[<<"Inaka">>]}.
21 - {<<"name">>,<<"lasse">>}.
22 - {<<"precompiled">>,false}.
23 - {<<"version">>,<<"1.1.0">>}.
21 + {<<"build_tools">>,[<<"rebar">>]}.
  @@ -0,0 +1,78 @@
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}]}.
  @@ -0,0 +1,10 @@
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…