We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d813eb commit 974edceCopy full SHA for 974edce
1 file changed
Rakefile
@@ -1,32 +1,9 @@
1
-def command?(command)
2
- system("type #{command} > /dev/null 2>&1")
3
-end
4
-
5
-#
6
-# Tests
7
+require 'rake/testtask'
8
9
task :default => :test
10
11
-require 'rake/testtask'
12
Rake::TestTask.new do |t|
13
t.libs << "test"
14
t.test_files = FileList['test/*_test.rb']
15
t.verbose = true
16
end
17
18
19
-# Publishing
20
21
22
-desc "Push a new version to Gemcutter"
23
-task :publish do
24
- require 'git-scribe/version'
25
26
- sh "gem build git-scribe.gemspec"
27
- sh "gem push git-scribe-#{GitScribe::VERSION}.gem"
28
- sh "git tag v#{GitScribe::VERSION}"
29
- sh "git push origin v#{GitScribe::VERSION}"
30
- sh "git push origin master"
31
32
0 commit comments