k_builder-watch 0.0.7 → 0.0.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d78a492a408edf5bf326f220fd139f9aab61c5dce6aafb98af76f64253157ad2
4
- data.tar.gz: dd7395fcc680658b4f1362e51c1cd51c3330aa989064c047042b9b5e0e54d599
3
+ metadata.gz: cb4057e4e3dafa4e89093235bee27a123304cb94798a809dd164e4b59026671a
4
+ data.tar.gz: 40214b13ccb9b134e51ba657ea5b8c3408c6a97174bf9612e7d46855af5f45f3
5
5
  SHA512:
6
- metadata.gz: e0b61565fec7df9686dfffa362bdd690fd71637b018c0aede9ccbca35a0e9a09c3d69e0f3dbbf97d5c5101fd88caf2b147b9aa20bfd2d37dfe8ab6abe6cfa1ea
7
- data.tar.gz: 61ca4a819f5d3407d929d63bb9ea0b7e9a82b5142cde6d6f504a1268086c998daf671361c383e9eb91aa8a226b1740191024a33fc9c43279a4ea69acc137ba75
6
+ metadata.gz: a3509847331dd63bca85fb7a23842358989a322ae6eb82576bd090b62938f35ac57f9d45eec5373c9b62b0e5b392a34cebdc45b7ddb01783661cce049ec3b0d2
7
+ data.tar.gz: 2cac1ea187ed99005e80980da9c0582e640549db738be0d12fdf3215338ec20eecff116311710122407de411bef73307760724b493a199ed5534c702ab97c16a
data/exe/kw ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # frozen_string_literal: true
4
+
5
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../lib'))
6
+
7
+ require 'k_builder/watch'
8
+
9
+ # directory = '/Users/davidcruwys/dev/c#/P04DomainMonopolyV1'
10
+
11
+ cli = KBuilder::Watch::Cli.new
12
+ cli.execute
13
+
14
+ unless cli.debug
15
+ watcher = KBuilder::Watch::Watcher.new(cli.watch_path)
16
+ watcher.start
17
+ end
@@ -33,10 +33,8 @@ Gem::Specification.new do |spec|
33
33
  f.match(%r{^(test|spec|features)/})
34
34
  end
35
35
  end
36
- spec.bindir = 'bin'
36
+ spec.bindir = 'exe'
37
37
 
38
- puts spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
39
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
40
38
  spec.require_paths = ['lib']
41
39
  # spec.extensions = ['ext/k_builder/watch/extconf.rb']
42
40
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module KBuilder
4
4
  module Watch
5
- VERSION = '0.0.7'
5
+ VERSION = '0.0.8'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: k_builder-watch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2021-03-24 00:00:00.000000000 Z
12
12
  dependencies:
@@ -70,13 +70,7 @@ description: " K-Builder-Watch will watch k_builder files and when they chang
70
70
  execute them\n"
71
71
  email:
72
72
  - david@ideasmen.com.au
73
- executables:
74
- - console
75
- - k
76
- - kgitsync
77
- - khotfix
78
- - run
79
- - setup
73
+ executables: []
80
74
  extensions: []
81
75
  extra_rdoc_files: []
82
76
  files:
@@ -99,6 +93,7 @@ files:
99
93
  - bin/khotfix
100
94
  - bin/run
101
95
  - bin/setup
96
+ - exe/kw
102
97
  - hooks/pre-commit
103
98
  - hooks/update-version
104
99
  - k_builder-watch.gemspec