devcheck 0.3.2 → 0.3.3
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 +7 -1
- data/devcheck +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4557f8583d166864d19e37c1c297a2fc62b98ba311e6201f8c9d1c08fe599523
|
|
4
|
+
data.tar.gz: c99270276bf19211e96fb0d24bae594d15b8c1b44de17993ea388f18538c18fc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ea1d4b518510ebf88e39fd2fdacef55ee28e6f8df8881402bc072f331a3094b19ae603775de902d1bca9960cf3fb355f7c60ac2d87dfac8cbd6b46ee1b10878
|
|
7
|
+
data.tar.gz: d30704fd11ba862151c0211747994903ea38372c30fc229859794f16f230d3ea0906edb84135841084814b0fccadf881ff677250fa702b79e2d0e5d5f4f96a17
|
data/README.md
CHANGED
|
@@ -6,6 +6,10 @@ are configured correctly for the project they are working on. `devcheck` provide
|
|
|
6
6
|
an easy way to set up your development environment checking by just creating a `.devcheck.rb` file
|
|
7
7
|
and populating it with the required commands and files needed for the project to function properly.
|
|
8
8
|
|
|
9
|
+
What makes `devcheck` unique is its ability to be flexible. Unlike compiled development environment
|
|
10
|
+
checkers, `devcheck` allows you to customize what commands and files to check for. You can also
|
|
11
|
+
personalize your project's name and ID to show up when running `devcheck`.
|
|
12
|
+
|
|
9
13
|
## Installation
|
|
10
14
|
`devcheck` can be installed by running the `gem install devcheck` command from your terminal.
|
|
11
15
|
|
|
@@ -23,15 +27,17 @@ checks for commands and files.
|
|
|
23
27
|
devcheck
|
|
24
28
|
```
|
|
25
29
|
```text
|
|
26
|
-
devcheck v0.3.
|
|
30
|
+
devcheck v0.3.2
|
|
27
31
|
Project Name: Go Choose Your License
|
|
28
32
|
Project ID: go-choose-license
|
|
29
33
|
|
|
30
34
|
Checking Development Environment
|
|
31
35
|
|
|
36
|
+
Commands:
|
|
32
37
|
✓ go
|
|
33
38
|
✓ git
|
|
34
39
|
|
|
40
|
+
Files:
|
|
35
41
|
✓ LICENSE
|
|
36
42
|
✓ README.md
|
|
37
43
|
✓ go.mod
|
data/devcheck
CHANGED
|
@@ -45,8 +45,8 @@ def command_exists?(cmd)
|
|
|
45
45
|
checker = Gem.win_platform? ? 'where' : 'which'
|
|
46
46
|
|
|
47
47
|
# Suppress output and check exit status
|
|
48
|
-
system("#{checker} #{cmd} > /dev/null 2>&1")
|
|
49
|
-
if
|
|
48
|
+
#system("#{checker} #{cmd} > /dev/null 2>&1")
|
|
49
|
+
if system(checker, cmd, out: File::NULL, err: File::NULL )
|
|
50
50
|
puts "\e[32m✓ #{cmd}\e[0m"
|
|
51
51
|
else
|
|
52
52
|
puts "\e[31m✗ #{cmd}\e[0m"
|