raykit 0.0.388 → 0.0.391
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raykit/git/repository.rb +12 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 077f9662e63a00e5e399492150da59555eae3ebc2a2279b3c3d72625af022349
|
4
|
+
data.tar.gz: e76a86eb5c62f2b7d4f3e20c118bb6af6656dbaeb809c6cf5e8517ceebae769a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3caab293bc609584f301931392ad3ff11f81eb0c3bd96588e461c3dfef790419efab1f6e6b8064fb5e3874bb678523e08e029b574eda7fd606d28f528234f40d
|
7
|
+
data.tar.gz: 2839eb3f1c04da6d1be14308cbb237763575478d8a982defa03fb0405e47ae0d4c24aa417e66731971455fed9732184fe84ed8caf649cd930ca868d6c7567e72
|
@@ -137,12 +137,20 @@ module Raykit
|
|
137
137
|
|
138
138
|
def self.make(url, commit_id, command)
|
139
139
|
repo = Raykit::Git::Repository.new(url)
|
140
|
-
make_dir =
|
141
|
-
FileUtils.mkdir_p(
|
142
|
-
|
140
|
+
make_dir = repo.get_dev_dir("make") + "/" + commit_id
|
141
|
+
FileUtils.mkdir_p(repo.get_dev_dir("make")) if !Dir.exists?(repo.get_dev_dir("make"))
|
142
|
+
if (Dir.exists?(make_dir))
|
143
|
+
FileUtils.rm_rf(make_dir)
|
144
|
+
#Dir.chdir(make_dir) do
|
145
|
+
# run("git pull")
|
146
|
+
#end
|
147
|
+
end
|
148
|
+
run("git clone #{url} #{make_dir}")
|
143
149
|
cmd = 0
|
144
150
|
Dir.chdir(make_dir) do
|
145
|
-
run("git
|
151
|
+
run("git tag").details
|
152
|
+
run("git reset --hard #{commit_id}")
|
153
|
+
#run("git checkout #{commit_id}")
|
146
154
|
cmd = run(command)
|
147
155
|
end
|
148
156
|
FileUtils.rm_rf(make_dir) if (cmd.exitstatus == 0)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raykit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.391
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|