guard-embertools 0.2.0 → 0.2.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.
- data/README.md +10 -2
- data/lib/guard/embertools/templates/Guardfile +3 -3
- data/lib/guard/embertools/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -15,7 +15,9 @@ $ npm install -g ember-tools
|
|
15
15
|
Add this line to your application's Gemfile:
|
16
16
|
|
17
17
|
``` ruby
|
18
|
-
|
18
|
+
group :development do
|
19
|
+
gem 'guard-embertools'
|
20
|
+
end
|
19
21
|
```
|
20
22
|
|
21
23
|
And then execute:
|
@@ -30,6 +32,12 @@ Or install it yourself as:
|
|
30
32
|
$ gem install guard-embertools
|
31
33
|
```
|
32
34
|
|
35
|
+
Add a default configuration to your guardfile:
|
36
|
+
|
37
|
+
```
|
38
|
+
$ guard init embertools
|
39
|
+
```
|
40
|
+
|
33
41
|
## Usage
|
34
42
|
|
35
43
|
See the [guard usage documentation](https://github.com/guard/guard#readme) for
|
@@ -47,7 +55,7 @@ end
|
|
47
55
|
|
48
56
|
This guard shows how to send in the command line arguments for `ember build`. See
|
49
57
|
``` ruby
|
50
|
-
guard :embertools, debug: true, no_cleanup: true, out_file: '
|
58
|
+
guard :embertools, debug: true, no_cleanup: true, out_file: 'my/custom/location.js' do
|
51
59
|
watch(%r{^public\/javascripts\/(?!index\.js)(?!templates\.js)(?!application\.js).*})
|
52
60
|
end
|
53
61
|
```
|
@@ -1,3 +1,3 @@
|
|
1
|
-
guard
|
2
|
-
watch(%r{^public
|
3
|
-
end
|
1
|
+
guard :embertools do
|
2
|
+
watch(%r{^public\/javascripts\/(?!index\.js)(?!templates\.js)(?!application\.js).*})
|
3
|
+
end
|