X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=ccaac1cdaa52371b40572c21bf53fa8685cfa1cb;hb=f6f147ce604f28a41f47b589dc3b7280938850b5;hp=9e702a36b19787052a745a9485c112cb5decaff6;hpb=168ef3b2ccf5b97d561a3c542a18e8e7587de291;p=dead%2Fwhatever-dl.git diff --git a/makefile b/makefile index 9e702a3..ccaac1c 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,20 @@ -.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. test: - ruby test/test_suite.rb + ruby -I. test/test_suite.rb remote_test: - ruby test/remote_test_suite.rb + 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