Skip to content

Commit

Permalink
Merge pull request #1248 from github/pod62html-tweaks
Browse files Browse the repository at this point in the history
pod62html tweaks
  • Loading branch information
Ashe Connor authored Dec 17, 2018
2 parents 050b575 + b8843a4 commit 8622794
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 297 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

8 changes: 1 addition & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- jruby-9.1.9.0
jdk:
- oraclejdk8
notifications:
email: false
git:
Expand All @@ -18,7 +15,7 @@ before_install:
- echo "deb https://dl.bintray.com/nxadm/rakudo-pkg-debs `lsb_release -cs` main" | sudo tee -a /etc/apt/sources.list.d/rakudo-pkg.list
- sudo apt-get update -qq
- sudo apt-get install perl rakudo-pkg
- export PATH=$PATH:/.perl6/bin:/opt/rakudo-pkg/bin && install-zef-as-user && zef install Pod::To::HTML
- export PATH=$PATH:/.perl6/bin:/opt/rakudo-pkg/bin
- curl -L http://cpanmin.us | perl - --sudo App::cpanminus
- sudo cpanm --installdeps --notest Pod::Simple
- sudo pip install docutils
Expand All @@ -28,6 +25,3 @@ cache:
env:
global:
- "JRUBY_OPTS=-Xcext.enabled=true"
matrix:
allow_failures:
- rvm: jruby-9.1.9.0
2 changes: 1 addition & 1 deletion github-markup.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |s|
s.license = "MIT"

s.files = `git ls-files`.split($\)
s.files += Dir['vendor/Pod-To-HTML/**/*']
s.files += Dir['vendor/**/*']
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = %w[lib]
Expand Down
7 changes: 1 addition & 6 deletions lib/github/commands/pod62html
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#!/usr/bin/env perl6

use v6;
use lib $*PROGRAM.IO.parent.add: '../../../vendor/Pod-To-HTML';
use Pod::To::HTML;

$_ = Pod::To::HTML.render(slurp);
s:s{\<\!doctype html\>.*\<div id\=\"___top\"\>\<\/div\>\s*} = "";
s:s{\s*\<\/div\>\s*\<\/body\>\s*\<\/html\>\s*} = "";
.put;
slurp.put;
151 changes: 0 additions & 151 deletions test/markups/README.pod6

This file was deleted.

128 changes: 0 additions & 128 deletions test/markups/README.pod6.html

This file was deleted.

1 change: 0 additions & 1 deletion vendor/Pod-To-HTML
Submodule Pod-To-HTML deleted from f5ea68

0 comments on commit 8622794

Please sign in to comment.