-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from inaka/elbrujohalcon.37.hex_package
Hex Package
- Loading branch information
Showing
24 changed files
with
4,989 additions
and
682 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
lasse.d | ||
.erlang.mk/ | ||
.eunit | ||
.edts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,26 @@ | ||
PROJECT = lasse | ||
|
||
CONFIG ?= rel/sys.config | ||
|
||
SHELL_DEPS = sync | ||
TEST_DEPS = cowboy lager shotgun meck katana xref_runner | ||
TEST_DEPS = cowboy shotgun meck katana mixer | ||
BUILD_DEPS = inaka_mk hexer_mk | ||
LOCAL_DEPS = common_test | ||
|
||
dep_meck = git https://github.com/eproxus/meck.git 0.8.2 | ||
dep_cowboy = git https://github.com/extend/cowboy.git 1.0.1 | ||
dep_shotgun = git https://github.com/inaka/shotgun.git 0.1.11 | ||
dep_katana = git https://github.com/inaka/erlang-katana.git 0.2.5 | ||
dep_xref_runner = git https://github.com/inaka/xref_runner.git 0.2.2 | ||
dep_meck = hex 0.8.4 | ||
dep_cowboy = git https://github.com/extend/cowboy.git 1.0.4 | ||
dep_shotgun = hex 0.1.15 | ||
dep_katana = hex 0.2.18 | ||
dep_mixer = git https://github.com/inaka/mixer.git 0.1.4 | ||
dep_inaka_mk = git https://github.com/inaka/inaka.mk.git 1.0.0 | ||
dep_hexer_mk = git https://github.com/inaka/hexer.mk.git 1.0.1 | ||
|
||
DIALYZER_DIRS := ebin/ | ||
DIALYZER_OPTS := --verbose --statistics -Werror_handling \ | ||
-Wrace_conditions #-Wunmatched_returns | ||
DEP_PLUGINS = inaka_mk hexer_mk | ||
|
||
include erlang.mk | ||
|
||
ERLC_OPTS := +warn_unused_vars +warn_export_all +warn_shadow_vars +warn_unused_import +warn_unused_function | ||
ERLC_OPTS += +warn_bif_clash +warn_unused_record +warn_deprecated_function +warn_obsolete_guard +strict_validation | ||
ERLC_OPTS += +warn_export_vars +warn_exported_vars +warn_missing_spec +warn_untyped_record +debug_info | ||
|
||
TEST_ERLC_OPTS += +'{parse_transform, lager_transform}' | ||
CT_OPTS += -cover test/${PROJECT}.coverspec -vvv -erl_args -config ${CONFIG} | ||
|
||
SHELL_OPTS += -name ${PROJECT}@`hostname` -config ${CONFIG} -s lager -s sync | ||
|
||
quicktests: app | ||
@$(MAKE) --no-print-directory app-build test-dir ERLC_OPTS="$(TEST_ERLC_OPTS)" | ||
@mkdir -p logs/ | ||
$(gen_verbose) $(CT_RUN) -suite $(addsuffix _SUITE,$(CT_SUITES)) $(CT_OPTS) | ||
SHELL_OPTS += -s sync | ||
|
||
erldocs: | ||
erldocs . -o docs | ||
CT_OPTS = -cover test/cover.spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.