guard-exec 0.1.0 → 0.1.1
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/Gemfile.lock +1 -1
- data/README.md +3 -3
- data/lib/guard/exec/templates/Guardfile +3 -3
- data/lib/guard/exec/version.rb +1 -1
- 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: ebeb85bca73be0f644305cbfbc872f98c136a4ae679565e5adacfadc43e34316
|
4
|
+
data.tar.gz: 5c0514de3ea62a54a2df65716a3ea8e96b5b51dc79d591f4dbb8f2a84da7ab0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06cd7acdb660afbc72ba62c95276a1c7c202dddc9ac26fba85a1304f8456f8461fb09602df7966cf043a37509251909bfd51c124012ed420880c36c3211b5937
|
7
|
+
data.tar.gz: '048a369e75992ef1eab3e78dd6091493c20f6c266347cb07239697fe2fe8e94eb34b4b037095311bb8eb434d68a17de4b18abedad49a8357cb63d762bf5d247b'
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -53,7 +53,7 @@ The following options are available:
|
|
53
53
|
# crystal spec -- --chaos
|
54
54
|
guard :exec, name: 'Minitest', command: 'crystal spec', comand_arguments: '-- --chaos' do
|
55
55
|
watch(%r{^spec/(.*)_spec\.cr})
|
56
|
-
watch(%r{^src/
|
56
|
+
watch(%r{^src/(.+)\.cr$}) { |m| "spec/#{m[1]}_spec.cr" }
|
57
57
|
end
|
58
58
|
|
59
59
|
```
|
@@ -63,8 +63,8 @@ end
|
|
63
63
|
# mix test
|
64
64
|
guard :exec, name: 'Test', command: 'mix test' do
|
65
65
|
watch(%r{^test/(.*)_test\.exs})
|
66
|
-
watch(%r{^lib/(.+)\.ex$})
|
67
|
-
watch(%r{^test/test_helper.exs$})
|
66
|
+
watch(%r{^lib/(.+)\.ex$}) { |m| "test/#{m[1]}_test.exs" }
|
67
|
+
watch(%r{^test/test_helper.exs$}) { "test" }
|
68
68
|
end
|
69
69
|
```
|
70
70
|
|
@@ -5,15 +5,15 @@
|
|
5
5
|
# # crystal spec -- --chaos
|
6
6
|
# guard :exec, name: 'Minitest', command: 'crystal spec', comand_arguments: '-- --chaos' do
|
7
7
|
# watch(%r{^spec/(.*)_spec\.cr})
|
8
|
-
# watch(%r{^src/
|
8
|
+
# watch(%r{^src/(.+)\.cr$}) { |m| "spec/#{m[1]}_spec.cr" }
|
9
9
|
# end
|
10
10
|
|
11
11
|
# # Elixir Test
|
12
12
|
# # mix test
|
13
13
|
# guard :exec, name: 'Test', command: 'mix test' do
|
14
14
|
# watch(%r{^test/(.*)_test\.exs})
|
15
|
-
# watch(%r{^lib/(.+)\.ex$})
|
16
|
-
# watch(%r{^test/test_helper.exs$})
|
15
|
+
# watch(%r{^lib/(.+)\.ex$}) { |m| "test/#{m[1]}_test.exs" }
|
16
|
+
# watch(%r{^test/test_helper.exs$}) { "test" }
|
17
17
|
# end
|
18
18
|
|
19
19
|
# # Elixir Credo
|
data/lib/guard/exec/version.rb
CHANGED