vimdeck 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +13 -21
- data/VERSION +1 -1
- data/bin/vimdeck +2 -2
- data/vimdeck-0.1.1.gem +0 -0
- metadata +1 -1
data/Rakefile
CHANGED
@@ -3,39 +3,31 @@ require "rake"
|
|
3
3
|
|
4
4
|
VERSION = File.read(File.join(".", "VERSION"))
|
5
5
|
|
6
|
-
def build
|
7
|
-
"gem build vimdeck.gemspec"
|
8
|
-
end
|
9
|
-
|
10
|
-
def deploy
|
11
|
-
"gem push vimdeck-#{VERSION.gsub( /\n/, "" )}.gem"
|
12
|
-
end
|
13
|
-
|
14
|
-
def tag
|
15
|
-
"git tag v#{VERSION}"
|
16
|
-
end
|
17
|
-
|
18
6
|
desc "Build gem from gemspec"
|
19
7
|
task :build do
|
20
|
-
|
8
|
+
system "gem build vimdeck.gemspec"
|
21
9
|
end
|
22
10
|
|
23
11
|
desc "Deploy gem to rubygems.org"
|
24
12
|
task :deploy do
|
25
|
-
|
13
|
+
system "gem push vimdeck-#{VERSION.gsub( /\n/, "" )}.gem"
|
26
14
|
end
|
27
15
|
|
28
16
|
desc "Tag git repo with release"
|
29
17
|
task :tag do
|
30
|
-
|
18
|
+
system "git tag v#{VERSION}"
|
19
|
+
puts "Tag v#{VERSION} created"
|
20
|
+
end
|
21
|
+
|
22
|
+
desc "Push tags to github"
|
23
|
+
task :push_tags do
|
24
|
+
system "git push --tags origin master"
|
31
25
|
end
|
32
26
|
|
33
27
|
desc "Release new version: build, deploy, and tag"
|
34
28
|
task :release do
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
#{tag}
|
40
|
-
CMD
|
29
|
+
["build", "deploy", "tag", "push_tags"].each do |t|
|
30
|
+
Rake::Task[t].reenable
|
31
|
+
Rake::Task[t].invoke
|
32
|
+
end
|
41
33
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/bin/vimdeck
CHANGED
@@ -14,9 +14,9 @@ if ARGV.include?('--help') || ARGV.include?('-h')
|
|
14
14
|
exit 0
|
15
15
|
end
|
16
16
|
|
17
|
-
if !File.exists?(ARGV[0])
|
17
|
+
if !ARGV[0] || !File.exists?(ARGV[0])
|
18
18
|
usage
|
19
|
-
puts "\nFile does not exist
|
19
|
+
puts "\nFile does not exist! #{ARGV[0]}"
|
20
20
|
exit 0
|
21
21
|
end
|
22
22
|
|
data/vimdeck-0.1.1.gem
ADDED
Binary file
|