gitlab-development-kit 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/gdk +8 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d96b16ee2eaf3d670c9b4a0515111ed19bb2ec6e
|
4
|
+
data.tar.gz: 91aeca28bdfcb29bb5c33ed5ffc322f3c0409ccc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19815297dab429e908d6350715d35dbdc8457e24a91e1b9cd0ddb446bb07d9cb235eb19c10d63181a4deb23aa47a9d4ff0db66d8de21ce5de6a1a80cb04b10b6
|
7
|
+
data.tar.gz: 01bbca5392a62f6719818bfcc467646c75ee94ad6904ab33ff172fc2fe1c7de126faf6863190b66ab385ee05fc4b485d31165b33bc92581d32d6461412277522
|
data/bin/gdk
CHANGED
@@ -4,7 +4,14 @@ require 'fileutils'
|
|
4
4
|
def main
|
5
5
|
case ARGV.first
|
6
6
|
when 'init'
|
7
|
-
|
7
|
+
if ARGV.count > 2
|
8
|
+
puts "Usage: gdk init [DIR]"
|
9
|
+
return false
|
10
|
+
end
|
11
|
+
|
12
|
+
cmd = %W(git clone -b gdk-cli https://gitlab.com/gitlab-org/gitlab-development-kit.git)
|
13
|
+
cmd << ARGV[1] if ARGV.count == 2
|
14
|
+
system(*cmd)
|
8
15
|
else
|
9
16
|
$gdk_root = find_root(Dir.pwd)
|
10
17
|
if $gdk_root.nil?
|