Skip to content

Commit b99d8db

Browse files
committed
minor changes
1 parent cbb2d95 commit b99d8db

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
deps:
2-
./rebar get-deps
31
build: deps
42
./rebar compile
3+
deps:
4+
./rebar get-deps
55
run: build
66
./start.sh
77
test: build

start.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/bin/sh
22

3+
export ERL_CRASH_DUMP_SECONDS=1
4+
35
erl \
46
-name http_proxy@`hostname` \
57
-pa ebin deps/*/ebin \
68
-config app.config \
7-
-eval 'lists:foreach(fun(App) -> application:start(App) end, [ ranch, crypto, cowboy, http_proxy ])'
9+
-eval 'lists:foreach(fun(App) -> ok = application:start(App) end, [ ranch, crypto, cowboy, http_proxy ])'

0 commit comments

Comments
 (0)