gito 0.4.3 → 0.4.4
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.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/detector.json +25 -0
- data/lib/gito/app_utils.rb +2 -2
- data/lib/gito/config_manager.rb +0 -1
- data/lib/gito/project.rb +1 -1
- data/lib/gito/version.rb +1 -1
- metadata +1 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 626783edcbf5e9919e4773b2fbb96bd4c49746ca
|
4
|
+
data.tar.gz: e6a5a4c3f99691817c27cea5e4aff848e3a6cdd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1596d3828033e69a4456b94367afdf730f00b0cf2384daa87d0c7aa748fd97cfa035406ec76a1c8f55eaeabdcbb2b51579b0486f84bf64d7640639495634278
|
7
|
+
data.tar.gz: 6a3416e3ac3df9bc006c247ff9e410ac3421bfba6d46bd190cb68122874514c18ef184fba372ae52cab2ad13049bd6da0e831cf71078d0710cfdff334c33adef
|
data/README.md
CHANGED
@@ -65,9 +65,13 @@ So far it auto-installs these types:
|
|
65
65
|
- Ruby
|
66
66
|
- Gradle
|
67
67
|
- node.js
|
68
|
-
- C
|
68
|
+
- C/C++
|
69
69
|
- Elixir
|
70
70
|
- Python
|
71
|
+
- Go (Govendor, Glide)
|
72
|
+
- Cocoapods
|
73
|
+
- Carthage
|
74
|
+
- Swift Package Manager
|
71
75
|
|
72
76
|
Create a pull request by editing [detector.json](detector.json) file if you want more types to be added.
|
73
77
|
|
data/detector.json
CHANGED
@@ -28,5 +28,30 @@
|
|
28
28
|
"file_requirement": "setup.py",
|
29
29
|
"installation_command": "pip install .",
|
30
30
|
"type": "python"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"file_requirement": "Cartfile",
|
34
|
+
"installation_command": "carthage update",
|
35
|
+
"type": "carthage"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"file_requirement": "Podfile",
|
39
|
+
"installation_command": "pod install",
|
40
|
+
"type": "Cocoapods"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"file_requirement": "Package.swift",
|
44
|
+
"installation_command": "swift build",
|
45
|
+
"type": "Swift Package Manager"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"file_requirement": "glide.yaml",
|
49
|
+
"installation_command": "glide install",
|
50
|
+
"type": "Go lang - Glide"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"file_requirement": "vendor.json",
|
54
|
+
"installation_command": "govendor fetch",
|
55
|
+
"type": "Go lang - Govendor"
|
31
56
|
}
|
32
57
|
]
|
data/lib/gito/app_utils.rb
CHANGED
@@ -2,14 +2,14 @@ require 'open3'
|
|
2
2
|
|
3
3
|
class AppUtils
|
4
4
|
|
5
|
-
def self.execute(command)
|
5
|
+
def self.execute(command, should_exit=true)
|
6
6
|
is_success = system command
|
7
7
|
unless is_success
|
8
8
|
puts "\n\n======================================================\n\n"
|
9
9
|
puts ' Something went wrong while executing this:'.red
|
10
10
|
puts " $ #{command}\n".yellow
|
11
11
|
puts "======================================================\n\n"
|
12
|
-
exit 1
|
12
|
+
exit 1 if should_exit
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
data/lib/gito/config_manager.rb
CHANGED
data/lib/gito/project.rb
CHANGED
data/lib/gito/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gito
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cesar ferreira
|
@@ -102,7 +102,6 @@ executables:
|
|
102
102
|
extensions: []
|
103
103
|
extra_rdoc_files: []
|
104
104
|
files:
|
105
|
-
- ".DS_Store"
|
106
105
|
- ".gitignore"
|
107
106
|
- ".travis.yml"
|
108
107
|
- Gemfile
|