From da59c30e7265d2718110286f226e6b4caaaa766c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 19 Oct 2009 11:09:22 -0700 Subject: local.mk.sample: sync with BDFL's version --- local.mk.sample | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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: + $@ -- cgit v1.2.3-24-ge0c7