ian 0.7.1 → 0.8.0

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -1
  3. data/bin/ian +19 -0
  4. data/lib/ian/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a987974a0e37237800dd872e5b917c3b830e8a4
4
- data.tar.gz: e58e2c04d30ab763849eeafce669a64a7147d708
3
+ metadata.gz: 835f7082d1c1f694da37f10553831da177968ad5
4
+ data.tar.gz: 585388c316f5ad6fa0e4c66a5f276626659e9aa0
5
5
  SHA512:
6
- metadata.gz: eeed95cefc357a52ce5c506a1b229f97d34620b5f6760a57150b7d9ef72d913cec8cf867ef92dcb79c8e727eeab464df96fabdcd36c71ce761fdea2027c22491
7
- data.tar.gz: 363fbe55df2db0af976d2a988a6c9739bed0912a9b045b01f6a479456c95fbca83c6bdeb7905141ebc44e056029956bcee6f5111b20507904c37fbfa0e4a5cab
6
+ metadata.gz: 37e2dc67d73e028c8a4720feefd11199a2d62e14f73e233a4b5efe47c41b77535aa0d0970b9c97a2f854a7aaac5e78a2339a4c992935fd27095a6f89674c6842
7
+ data.tar.gz: 7dd1903f0f8bcaba4a663422d9b99565005cd302e234c460f94e5b472257b81d499b8e226f76ed89541efe3a53623123b461f179146badf04e9e3049f7bb1a0b
data/README.md CHANGED
@@ -105,9 +105,17 @@ a folder of the same name as the generated package.
105
105
 
106
106
  Finally the package is built into a `pkg` folder in the format `name_version_arch`.
107
107
 
108
+ **Install a package**
109
+
110
+ $ ian install [-b]
111
+
112
+ Running the following will build and install a package with one command. This is great
113
+ for installing the package during development and mimics the `rake install` command of gem
114
+ development.
115
+
108
116
  **Releasing a package**:
109
117
 
110
- Tagging commits with the package version can be done using this command:
118
+ __EXPERIMENTAL__ Tagging commits with the package version can be done using this command:
111
119
 
112
120
  $ ian release
113
121
 
data/bin/ian CHANGED
@@ -92,6 +92,25 @@ Slop.parse help: true do
92
92
  end
93
93
  end
94
94
 
95
+ command :install do
96
+ description "Build and install a Debian package"
97
+ on :b, :build, "Run the build script prior to packaging"
98
+
99
+ run do |opts, args|
100
+ check_initialized!
101
+
102
+ if opts.build?
103
+ system "#{$0} build"
104
+ exit $?.exitstatus unless $?.success?
105
+ end
106
+
107
+ pkg = Ian.build_package(IAN_DIR, log)
108
+ log.info "Package built to #{pkg}"
109
+
110
+ system "sudo dpkg -i #{pkg}"
111
+ end
112
+ end
113
+
95
114
  command :push do
96
115
  description "Push the latest debian package up"
97
116
 
@@ -1,3 +1,3 @@
1
1
  module Ian
2
- VERSION = "0.7.1"
2
+ VERSION = "0.8.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert McLeod
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-09 00:00:00.000000000 Z
11
+ date: 2017-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slop