File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 2
2
# bundle install
3
3
source 'https://rubygems.org'
4
4
gem 'asciidoctor' , '~>1.5.1'
5
- # gem 'haml', '~>4.0.0'
6
- # gem 'tilt', '~>2.0.0'
5
+ gem 'haml' , '~>4.0.0'
6
+ gem 'tilt' , '~>2.0.0'
7
7
gem 'slim' , '~>2.0.0'
8
- gem 'thread_safe' , '~> 0.1.3'
8
+ #gem 'thread_safe', '~> 0.1.3'
9
+ gem 'asciidoctor-pdf' , '~>1.5.0.alpha.6'
10
+ #gem 'asciidoctor-pdf', :git => '[email protected] :asciidoctor/asciidoctor-pdf.git'
11
+ gem 'coderay' , '1.1.0'
12
+ ##gem 'thread-safe', '0.2.0'
9
13
10
14
# guarding
11
15
gem 'guard'
Original file line number Diff line number Diff line change @@ -58,6 +58,12 @@ task :guard do
58
58
system "bundle exec guard"
59
59
end
60
60
61
+ task :pdf do
62
+ cmd = "bundle exec asciidoctor-pdf presentation.adoc"
63
+ msg cmd
64
+ system cmd or raise "ERROR: Running Asciidoctor PDF failed."
65
+ end
66
+
61
67
# Execute Asciidoctor
62
68
def run_asciidoctor ( args )
63
69
cmd = "bundle exec asciidoctor #{ args } "
You can’t perform that action at this time.
0 commit comments