Skip to content

Commit

Permalink
add script for copying erl_crash
Browse files Browse the repository at this point in the history
  • Loading branch information
FelidaeHome committed May 14, 2015
1 parent 2429a5b commit e639edb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ REBAR = rebar
REPO = ../../../../repository
REPOSRC = ../../repository
TARGET = ~/projects/erlang
DATE = `date +%Y-%m-%d`
CRASH_DIR = ../../crasher



Expand Down Expand Up @@ -52,6 +54,10 @@ docs:
rcswitch:
$(MAKE) -C apps/horst/priv/driver/remote send

cp_crash:
mkdir -p $(CRASH_DIR)/$(HOST)/$(DATE)
scp $(USR)@$(HOST):$(TARGET)/$(PROJECT)/erl_crash.dump $(CRASH_DIR)/$(HOST)/$(DATE)

ct_setup:
rm -rf ct_test/dev1
rm -rf ct_test/dev2
Expand Down

0 comments on commit e639edb

Please sign in to comment.