Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:26
cpg
0002-remove-reltool_util-deps.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-remove-reltool_util-deps.patch of Package cpg
From fa38c8541326fd34b1f4e26bf92808eb3b75dd3f Mon Sep 17 00:00:00 2001 From: Led <ledest@gmail.com> Date: Mon, 29 Oct 2018 13:58:06 +0200 Subject: [PATCH 02/15] remove reltool_util deps --- README.md | 2 +- mix.exs | 3 +-- rebar.config | 3 --- test/cpg_tests.erl | 4 ++-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7497af6..50e0a92 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ provides a dict module interface $ erl -sname cpg@localhost -pz ebin/ -pz deps/*/ebin/ - (cpg@localhost)1> reltool_util:application_start(cpg). + (cpg@localhost)1> application:ensure_all_started(cpg). ok (cpg@localhost)2> cpg:join(groups_scope1, "Hello", self()). ok diff --git a/mix.exs b/mix.exs index bd8fda7..f809825 100644 --- a/mix.exs +++ b/mix.exs @@ -46,8 +46,7 @@ defmodule CPG.Mixfile do end defp deps do - [{:trie, ">= 1.8.0"}, - {:reltool_util, ">= 1.8.0"}] + [{:trie, ">= 1.8.0"}] end defp description do diff --git a/rebar.config b/rebar.config index fb1e749..fe3de0c 100644 --- a/rebar.config +++ b/rebar.config @@ -4,9 +4,6 @@ {deps, [{trie, ".*", {git, "https://github.com/okeuday/trie.git", - {tag, "v1.8.0"}}}, - {reltool_util, ".*", - {git, "https://github.com/okeuday/reltool_util.git", {tag, "v1.8.0"}}}]}. {erl_opts, diff --git a/test/cpg_tests.erl b/test/cpg_tests.erl index d45a0ad..998a083 100644 --- a/test/cpg_tests.erl +++ b/test/cpg_tests.erl @@ -40,7 +40,7 @@ -include_lib("eunit/include/eunit.hrl"). cpg_start_test() -> - ok = reltool_util:application_start(cpg), + {ok, _} = application:ensure_all_started(cpg), ok = application:start(sasl). via1_test() -> @@ -374,7 +374,7 @@ pid_counts_test() -> ok. cpg_stop_test_() -> - {timeout, 10, ?_assertEqual(ok, reltool_util:application_stop(cpg))}. + {timeout, 10, ?_assertEqual(ok, application:stop(cpg))}. busy_pid() -> timer:sleep(1000), -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor