Navigation Menu

Skip to content

Commit

Permalink
new build sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Nov 3, 2013
1 parent f28a756 commit ebd5e0e
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 140 deletions.
4 changes: 3 additions & 1 deletion Makefile
@@ -1,3 +1,5 @@
RELEASE := skyline
COOKIE := node_runner
APPS := web active amqp_client avz cowboy erlydtl gproc kai kvs lager mimetypes mqs n2o oauth rabbit_common ranch sync
ERL_ARGS := -args_file rels/web/files/vm.args -config rels/web/files/sys.config
RUN_DIR ?= ./rels/web/devbox
Expand Down Expand Up @@ -26,5 +28,5 @@ static-link:
ln -sf ../../../../deps/n2o/priv/static/font-awesome $(FONTAWESOME)
ln -sf ../../../../deps/n2o/priv/static/less $(LESSJS)

include synrc.mk
include otp.mk

8 changes: 0 additions & 8 deletions attach.sh

This file was deleted.

5 changes: 0 additions & 5 deletions compile.sh

This file was deleted.

File renamed without changes.
22 changes: 0 additions & 22 deletions nitrogen_static.sh

This file was deleted.

7 changes: 5 additions & 2 deletions synrc.mk → otp.mk
Expand Up @@ -4,7 +4,8 @@ REBAR ?= $(or $(shell which rebar 2>/dev/null),./rebar)
SRC_APP_DIR_ROOTS ?= apps deps
ERL_LIBS := $(subst $(space),:,$(SRC_APP_DIR_ROOTS))

get-deps compile clean:
compile: get-deps static-link
get-deps compile clean update-deps:
$(REBAR) $@
.applist:
./envgen.erl $(APPS) > $@t
Expand All @@ -20,5 +21,7 @@ attach:
to_erl $(RUN_DIR)/
release:
relx
stop:
kill -9 `ps ax -o pid= -o command=|grep $(RELEASE)|grep $(COOKIE)|awk '{print $$1}'`

.PHONY: get-deps compile clean console start attach release
.PHONY: get-deps compile clean console start attach release update-deps
23 changes: 0 additions & 23 deletions release.sh

This file was deleted.

62 changes: 0 additions & 62 deletions release_sync.sh

This file was deleted.

5 changes: 0 additions & 5 deletions start.sh

This file was deleted.

5 changes: 0 additions & 5 deletions stop.sh

This file was deleted.

7 changes: 0 additions & 7 deletions update.sh

This file was deleted.

File renamed without changes.

0 comments on commit ebd5e0e

Please sign in to comment.