Skip to content

Commit

Permalink
Bundle the plugin in the Ruby code (avoid using File.read)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Feb 6, 2020
1 parent e0c5867 commit e8f332a
Show file tree
Hide file tree
Showing 3 changed files with 310 additions and 91 deletions.
2 changes: 1 addition & 1 deletion asciidoctor-revealjs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |s|
Dir['**/*']
end
# TODO should we still package template files now that they are built into ruby?
s.files = files.grep %r/^(?:(?:examples|lib|templates|assets)\/.+|Gemfile|Rakefile|(?:CHANGELOG|LICENSE|README)\.adoc|#{s.name}\.gemspec)$/
s.files = files.grep %r/^(?:(?:examples|lib|templates)\/.+|Gemfile|Rakefile|(?:CHANGELOG|LICENSE|README)\.adoc|#{s.name}\.gemspec)$/

s.executables = ['asciidoctor-revealjs']
s.extra_rdoc_files = Dir['README.adoc', 'LICENSE.adoc', 'HACKING.adoc']
Expand Down
76 changes: 0 additions & 76 deletions assets/plugin-highlight.js

This file was deleted.

Loading

0 comments on commit e8f332a

Please sign in to comment.