From f6f147ce604f28a41f47b589dc3b7280938850b5 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 12 Jun 2012 22:03:06 -0400 Subject: [PATCH] Update the makefile to build/install a gem. --- makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 2a39f6b..ccaac1c 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,6 @@ -.PHONY : test +.PHONY : build test + +all: install # Ruby 1.9 doesn't include the current directory in the load path, so # we pass them on the command-line. @@ -7,3 +9,12 @@ test: remote_test: ruby -I. test/remote_test_suite.rb + +clean: + rm -f whatever-dl-*.gem + +build: clean + gem build whatever-dl.gemspec + +install: build + gem install --user-install whatever-dl-*.gem -- 2.43.2