woody 0.0.15 → 0.0.16
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/bin/woody +5 -1
- data/lib/woody/version.rb +1 -1
- metadata +1 -1
data/bin/woody
CHANGED
|
@@ -8,6 +8,7 @@ program :name, 'woody'
|
|
|
8
8
|
program :version, Woody::VERSION
|
|
9
9
|
program :description, 'Podcast static site generator'
|
|
10
10
|
|
|
11
|
+
default_command :compile
|
|
11
12
|
|
|
12
13
|
command :compile do |c|
|
|
13
14
|
c.description = "Compiles the site"
|
|
@@ -16,6 +17,7 @@ command :compile do |c|
|
|
|
16
17
|
Woody::Compiler.compile
|
|
17
18
|
end
|
|
18
19
|
end
|
|
20
|
+
alias_command :c, :compile
|
|
19
21
|
|
|
20
22
|
command :deploy do |c|
|
|
21
23
|
c.description = "Deploys the site"
|
|
@@ -24,6 +26,7 @@ command :deploy do |c|
|
|
|
24
26
|
Woody::Deployer.deploy
|
|
25
27
|
end
|
|
26
28
|
end
|
|
29
|
+
alias_command :d, :deploy
|
|
27
30
|
|
|
28
31
|
command :cd do |c|
|
|
29
32
|
c.description = "Compiles then deploys the site"
|
|
@@ -46,10 +49,11 @@ command :new do |c|
|
|
|
46
49
|
end
|
|
47
50
|
end
|
|
48
51
|
|
|
49
|
-
command :
|
|
52
|
+
command :'update templates' do |c|
|
|
50
53
|
c.description = "Sets template files to current default. DESTRUCTIVE!"
|
|
51
54
|
c.action do |args, options|
|
|
52
55
|
Woody.init
|
|
53
56
|
Woody::Generator.update_templates
|
|
54
57
|
end
|
|
55
58
|
end
|
|
59
|
+
alias_command :'templates update', :'update templates'
|
data/lib/woody/version.rb
CHANGED