Skip to content

Commit b5d48f9

Browse files
committed
First gem release!
1 parent 72dc26e commit b5d48f9

File tree

5 files changed

+60
-1
lines changed

5 files changed

+60
-1
lines changed

.gemspec

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env ruby
2+
# -*- coding: utf-8 -*-
3+
4+
Gem::Specification.new do |s|
5+
s.name = "upm"
6+
7+
s.version = File.read "VERSION"
8+
s.date = File.mtime("VERSION").strftime("%Y-%m-%d")
9+
10+
s.summary = "Universal Package Manager"
11+
s.description = "Wrap all known command-line package tools with a consistent and pretty interface."
12+
13+
s.homepage = "http://github.com/epitron/upm/"
14+
s.licenses = ["WTFPL"]
15+
16+
s.email = "[email protected]"
17+
s.authors = ["epitron"]
18+
19+
# s.executables = ["upm", "up", "u"]
20+
21+
s.files = `git ls`.lines.map(&:strip)
22+
s.extra_rdoc_files = ["README.md", "LICENSE"]
23+
24+
# s.require_paths = %w[lib]
25+
26+
# s.add_dependency "slop", "~> 3.0"
27+
end

LICENSE

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
2+
Version 2, December 2004
3+
4+
Copyright (C) 2004 Sam Hocevar
5+
14 rue de Plaisance, 75014 Paris, France
6+
Everyone is permitted to copy and distribute verbatim or modified
7+
copies of this license document, and changing it is allowed as long
8+
as the name is changed.
9+
10+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
11+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
12+
13+
0. You just DO WHAT THE FUCK YOU WANT TO.

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
# up: The Universal Package manager
1+
# upm: Universal Package Manager
22

33
## Usage:
44

55
```
6+
upm <command> <pkg>
67
up <command> <pkg>
8+
u <command> <pkg>
79
```
810

911
## Commands

Rakefile

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
gem_version = File.read("VERSION").strip
2+
pkgname = "upm"
3+
4+
task :build do
5+
system "gem build .gemspec"
6+
end
7+
8+
task :release => :build do
9+
system "gem push #{pkgname}-#{gem_version}.gem"
10+
end
11+
12+
task :gem => :release
13+
14+
task :install => :build do
15+
system "gem install #{pkgname}-#{gem_version}.gem"
16+
end

VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.0.0

0 commit comments

Comments
 (0)