Skip to content

Commit 43e496f

Browse files
author
Andrei Zavada
committed
tweak Makefile for rebar3; touch up .gitignore
1 parent 792f5e1 commit 43e496f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
_build/
2+
rebar.lock
23
ebin/
3-
deps/
44
tests/
55
/basho_bench
66
/rel/basho_bench
77
package
8-
.rebar
98
*~
109
#*#
1110
.DS_Store

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ PKG_ID = basho-bench-$(PKG_VERSION)
66
PKG_BUILD = 1
77
BASE_DIR = $(shell pwd)
88
ERLANG_BIN = $(shell dirname $(shell which erl))
9-
REBAR ?= $(BASE_DIR)/rebar
9+
REBAR ?= $(BASE_DIR)/rebar3
1010
OVERLAY_VARS ?=
1111

1212

1313
all: deps compile
14-
$(REBAR) skip_deps=true escriptize
14+
$(REBAR) escriptize
1515

1616
.PHONY: deps compile rel lock locked-all locked-deps
1717

1818
rel: deps compile
19-
cd rel && $(REBAR) generate skip_deps=true $(OVERLAY_VARS)
19+
cd rel && $(REBAR) generate $(OVERLAY_VARS)
2020

2121
deps:
2222
$(REBAR) get-deps

0 commit comments

Comments
 (0)