-
Notifications
You must be signed in to change notification settings - Fork 20
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 #45 from inaka/elbrujohalcon.45.hex_package
Hex Package
- Loading branch information
Showing
10 changed files
with
291 additions
and
267 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
--- |
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,45 +1,29 @@ | ||
PROJECT = trails | ||
|
||
DEPS = cowboy ranch | ||
TEST_DEPS = xref_runner katana mixer elvis meck | ||
TEST_DEPS = katana mixer meck | ||
SHELL_DEPS = sync | ||
BUILD_DEPS = inaka_mk hexer_mk | ||
|
||
dep_cowboy = git https://github.com/ninenines/cowboy.git 1.0.4 | ||
dep_ranch = git https://github.com/ninenines/ranch.git 1.2.0 | ||
dep_sync = git https://github.com/rustyio/sync.git 9c78e7b | ||
dep_xref_runner = git https://github.com/inaka/xref_runner.git 0.2.2 | ||
dep_sync = git https://github.com/rustyio/sync.git 9c78e7b | ||
dep_mixer = git https://github.com/inaka/mixer.git 0.1.4 | ||
dep_elvis = git https://github.com/inaka/elvis.git b69eea4 | ||
dep_katana = git https://github.com/inaka/erlang-katana.git 07efe94 | ||
dep_meck = git https://github.com/eproxus/meck 0.8.3 | ||
dep_katana = hex 0.2.18 | ||
dep_meck = hex 0.8.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.0 | ||
|
||
include erlang.mk | ||
|
||
CT_OPTS = -cover test/trails.coverspec -erl_args | ||
DEP_PLUGINS = inaka_mk hexer_mk | ||
|
||
LOCAL_DEPS := xmerl tools compiler syntax_tools common_test inets crypto ssl public_key test_server dialyzer wx | ||
DIALYZER_DIRS := ebin/ test/ | ||
DIALYZER_OPTS := --verbose --statistics -Wunmatched_returns | ||
include erlang.mk | ||
|
||
ERLC_OPTS += +warn_unused_vars +warn_export_all +warn_shadow_vars +warn_unused_import +warn_unused_function | ||
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 += +debug_info | ||
|
||
SHELL_OPTS = -s sync | ||
|
||
quicktests: app | ||
@$(MAKE) --no-print-directory app-build test-dir ERLC_OPTS="$(TEST_ERLC_OPTS)" | ||
$(verbose) mkdir -p $(CURDIR)/logs/ | ||
$(gen_verbose) $(CT_RUN) -suite $(addsuffix _SUITE,$(CT_SUITES)) $(CT_OPTS) | ||
|
||
test-build-plt: ERLC_OPTS=$(TEST_ERLC_OPTS) | ||
test-build-plt: | ||
@$(MAKE) --no-print-directory test-dir ERLC_OPTS="$(TEST_ERLC_OPTS)" | ||
$(gen_verbose) touch ebin/test | ||
|
||
plt-all: PLT_APPS := $(TEST_DEPS) | ||
plt-all: test-deps test-build-plt plt | ||
|
||
dialyze-all: app test-build-plt dialyze | ||
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.