Skip to content

Commit

Permalink
Exit gracefully with ^C when debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinson committed Jan 22, 2015
1 parent 733a420 commit bbf8d0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions share/macros.make
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# When I can test for regressions instantly, I will reconsider. UGH.
#
# ~~ (c) SRW, 27 Nov 2012
# ~~ last updated 12 Jan 2015
# ~~ last updated 21 Jan 2015

SHELL := sh
ECHO := echo -e
Expand Down Expand Up @@ -201,9 +201,9 @@ endef
define run-procfile
LAUNCH_COMMAND=`$(SED) 's/web:[[:space:]]*//' Procfile` ; \
if [ -z $${TRAVIS_JOB_ID} ]; then \
$(1) $(SHELL) -c "$${LAUNCH_COMMAND}" ; \
$(1) $(SHELL) -c "$${LAUNCH_COMMAND}" || $(TRUE) ; \
else \
( $(1) $(SHELL) -c "$${LAUNCH_COMMAND}" & ) || /bin/true ; \
( $(1) $(SHELL) -c "$${LAUNCH_COMMAND}" & ) || $(TRUE) ; \
fi
endef

Expand Down Expand Up @@ -240,6 +240,7 @@ QRENCODE := $(call contingent, qrencode) --8bit --level=H
RM := $(call contingent, grm rm) -rf
SED := $(call contingent, gsed sed)
SORT := $(call contingent, gsort sort) -u
TRUE := $(call contingent, true)
XARGS := $(call contingent, xargs)
YUICOMP := $(call contingent, yuicompressor)
ZIP := $(call contingent, zip)
Expand Down
2 changes: 1 addition & 1 deletion src/ruby-gem
Submodule ruby-gem updated 1 files
+1 −1 lib/service.rb

0 comments on commit bbf8d0e

Please sign in to comment.