diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-19 11:09:22 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-19 11:09:22 -0700 |
commit | da59c30e7265d2718110286f226e6b4caaaa766c (patch) | |
tree | 43c80d1a29455d71962edc83989a56e89adc2f98 | |
parent | 8453ad07c53907a54283a8eddc423840e0d9649c (diff) | |
download | rainbows-da59c30e7265d2718110286f226e6b4caaaa766c.tar.gz |
-rw-r--r-- | local.mk.sample | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/local.mk.sample b/local.mk.sample index b6867dd..da181b6 100644 --- a/local.mk.sample +++ b/local.mk.sample @@ -22,13 +22,17 @@ endif ifdef gem_paths sp := sp += - RUBYLIB := $(subst $(sp),:,$(addsuffix /lib,$(gem_paths))) + export RUBYLIB := $(subst $(sp),:,$(addsuffix /lib,$(gem_paths))) endif # pipefail is THE reason to use bash (v3+) or never revisions of ksh93 # SHELL := /bin/bash -e -o pipefail SHELL := /bin/ksh93 -e -o pipefail +# trace execution of tests +# TRACER = strace -f -o $(t_pfx).strace -s 100000 +TRACER = /usr/bin/time -v -o $(t_pfx).time + full-test: test-18 test-19 test-18: $(MAKE) test 2>&1 | sed -u -e 's!^!1.8 !' @@ -60,3 +64,7 @@ doc_gz: touch doc/NEWS.atom.xml -d "$$(awk 'NR==1{print $$4,$$5,$$6}' NEWS)" for i in $(docs); do \ gzip --rsyncable -9 < $$i > $$i.gz; touch -r $$i $$i.gz; done + +# launches any of the following shells with RUBYLIB set +irb sh bash ksh: + $@ |