From 98622a1c291277ff124a586929c675e9ae67692e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 18 Apr 2010 21:33:40 -0700 Subject: use the excellent `isolate' gem for dev It should make life easier when dealing with and testing complex dependencies, especially ones like Cramp which depend on prerelease versions of gems. --- GNUmakefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index b11ecf9..42c2162 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -3,6 +3,7 @@ all:: RUBY = ruby RAKE = rake GIT_URL = git://git.bogomips.org/rainbows.git +ISOLATE_CONFIG = config/isolate.rb GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE @./GIT-VERSION-GEN @@ -15,6 +16,12 @@ ifeq ($(RUBY_VERSION),) RUBY_VERSION := $(shell $(RUBY) -e 'puts RUBY_VERSION') endif +# rake takes forever to start +isolate: tmp/gems/$(RUBY_VERSION)/.isolate +tmp/gems/$(RUBY_VERSION)/.isolate: $(ISOLATE_CONFIG) + ISOLATE_CONFIG=$(ISOLATE_CONFIG) $(RAKE) isolate + > $@ + base_bins := rainbows bins := $(addprefix bin/, $(base_bins)) man1_bins := $(addsuffix .1, $(base_bins)) -- cgit v1.2.3-24-ge0c7