bonethug 0.0.29 → 0.0.30
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 +17 -12
- data/lib/bonethug/version.rb +1 -1
- data/lib/bonethug/watcher.rb +1 -1
- data/skel/project_types/silverstripe3/bower.json +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -1,22 +1,28 @@
|
|
1
1
|
Bonethug
|
2
2
|
========
|
3
3
|
|
4
|
+
|
5
|
+
|
4
6
|
Project Skeleton Manager
|
5
7
|
|
8
|
+
|
9
|
+
|
6
10
|
Installation
|
7
11
|
------------
|
8
12
|
|
9
13
|
Add this line to your application's Gemfile:
|
10
14
|
|
11
|
-
gem 'bonethug'
|
15
|
+
`gem 'bonethug'`
|
12
16
|
|
13
17
|
And then execute:
|
14
18
|
|
15
|
-
bundle
|
19
|
+
`bundle`
|
16
20
|
|
17
21
|
Or install it yourself as:
|
18
22
|
|
19
|
-
gem install bonethug
|
23
|
+
`gem install bonethug`
|
24
|
+
|
25
|
+
|
20
26
|
|
21
27
|
Usage
|
22
28
|
-----
|
@@ -52,11 +58,10 @@ config/example/cnf.yml, config/example/schedule.rb config files*
|
|
52
58
|
|
53
59
|
**Watch for changes to SCSS / CoffeeScript**
|
54
60
|
|
55
|
-
*Configure the watch in the config/cnf.yml. Uses
|
56
|
-
|
57
|
-
argument*
|
61
|
+
*Configure the watch in the config/cnf.yml. Uses vanilla coffeescript and sass
|
62
|
+
compilers by default, but can use sprockets if passed the sprockets argument*
|
58
63
|
|
59
|
-
`bonethug watch [
|
64
|
+
`bonethug watch [sprockets]`
|
60
65
|
|
61
66
|
|
62
67
|
|
@@ -73,10 +78,9 @@ the info contained in cnf.yml*
|
|
73
78
|
|
74
79
|
Most of these are piped through mina. Mina uses SSH to send a bash script to
|
75
80
|
the remote server where it is executed. For these commands to work you need to
|
76
|
-
have the desired host already added to your known hosts file:
|
77
|
-
|
78
|
-
|
79
|
-
~/.ssh/config.
|
81
|
+
have the desired host already added to your known hosts file: ~/.ssh/known_hosts
|
82
|
+
which means you can either connect to the host first, manually add it or switch
|
83
|
+
off the checking by adding the following to ~/.ssh/config.
|
80
84
|
|
81
85
|
|
82
86
|
|
@@ -117,7 +121,8 @@ up an ssh key with no pass on the remote server so it can talk to the sync
|
|
117
121
|
location then you wont need to provide a pass in the cnf.yml. this is prefereed
|
118
122
|
as it keeps the password out of the log files.*
|
119
123
|
|
120
|
-
BE CAREFUL USING SYNC-TO - if there are no files in the source location it will
|
124
|
+
BE CAREFUL USING SYNC-TO - if there are no files in the source location it will
|
125
|
+
wipe the files from your deploy copy.
|
121
126
|
|
122
127
|
`bonethug sync-from {develoment|staging|production}`
|
123
128
|
|
data/lib/bonethug/version.rb
CHANGED
data/lib/bonethug/watcher.rb
CHANGED
@@ -18,7 +18,7 @@ module Bonethug
|
|
18
18
|
include FileUtils
|
19
19
|
include Digest
|
20
20
|
|
21
|
-
def self.watch(type = '
|
21
|
+
def self.watch(type = 'coffee_sass', target = '.', watch_only = nil)
|
22
22
|
|
23
23
|
# create full path
|
24
24
|
target = File.expand_path target
|