File tree Expand file tree Collapse file tree 4 files changed +23
-0
lines changed Expand file tree Collapse file tree 4 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,10 @@ rel-deb: compile
8686 @$(REBAR ) as deb release
8787 @tar --exclude=vcs -c -C _build/deb/rel riak | tar -x -C rel
8888
89+ rel-osx : compile
90+ @$(REBAR ) as osx release
91+ @tar --exclude=vcs -c -C _build/osx/rel riak | tar -x -C rel
92+
8993relclean :
9094 @rm -rf $(REL_DIR )
9195 @rm -rf rel/riak rel/.libs rel/.deps
Original file line number Diff line number Diff line change 177177 {wait_for_process , riak_core_node_watcher }]}
178178 ]}
179179 ]}
180+ ]},
181+ {osx , [
182+ {relx , [
183+ {overlay_vars , " rel/pkg/osx/vars.config" }
184+ ]}
180185 ]}
181186]}.
Original file line number Diff line number Diff line change 1+ BUILDDIR = $(shell pwd)
2+ BUILD_STAGE_DIR = $(BUILDDIR ) /riak
3+ PKGNAME = riak-$(PKG_ID )
4+
5+ default : buildrel
6+ mkdir ../packages
7+ tar -czf ../packages/$(PKGNAME ) .tar.gz -C rel riak && \
8+ (cd ../packages && shasum -a 256 $( PKGNAME) .tar.gz > $( PKGNAME) .tar.gz.sha)
9+
10+ buildrel :
11+ tar -xf $(BASE_DIR ) /rel/pkg/out/$(PKG_ID ) .tar.gz -C $(BASE_DIR ) /rel/pkg/out/$(PKGNAME )
12+ $(MAKE ) -C $(BASE_DIR ) /rel/pkg/out/$(PKGNAME ) rel-osx
13+ chmod 0755 rel/riak/bin/* rel/riak/erts-* /bin/*
Original file line number Diff line number Diff line change 1+ ../../vars.config
You can’t perform that action at this time.
0 commit comments