X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fwhatever-dl.git;a=blobdiff_plain;f=makefile;h=ccaac1cdaa52371b40572c21bf53fa8685cfa1cb;hp=2a39f6bee4e7999a210492bb80f286fff2e68e8b;hb=f6f147ce604f28a41f47b589dc3b7280938850b5;hpb=1ea5d78f268bece1396c0bfd65ce34cf1638eb7e 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