Browse files

Update meta files

  • Loading branch information...
1 parent 741bceb commit 73a17a7e9ae77d2a0dc7941c67c06c1104d5e171 @doherty committed May 12, 2012
Showing with 153 additions and 34 deletions.
  1. +48 −0 Build.PL
  2. +28 −23 Makefile.PL
  3. +4 −11 README
  4. +73 −0 README.mkdn
View
48 Build.PL
@@ -0,0 +1,48 @@
+
+use strict;
+use warnings;
+
+use Module::Build 0.3601;
+
+
+my %module_build_args = (
+ "build_requires" => {
+ "File::Find" => 0,
+ "File::Temp" => 0,
+ "Module::Build" => "0.3601",
+ "Test::More" => 0,
+ "Test::Output" => 0,
+ "open" => 0
+ },
+ "configure_requires" => {
+ "ExtUtils::MakeMaker" => "6.30",
+ "Module::Build" => "0.3601"
+ },
+ "dist_abstract" => "application class for syntax highlighting Perl source code",
+ "dist_author" => [
+ "Mike Doherty <doherty\@cpan.org>"
+ ],
+ "dist_name" => "App-perlhl",
+ "dist_version" => "0.004",
+ "license" => "perl",
+ "module_name" => "App::perlhl",
+ "recommends" => {},
+ "recursive_test_files" => 1,
+ "requires" => {
+ "Getopt::Long" => 0,
+ "Pod::Usage" => 0,
+ "Syntax::Highlight::Perl::Improved" => "1.01",
+ "Term::ANSIColor" => "3.00",
+ "perl" => "v5.10.1",
+ "strict" => 0,
+ "warnings" => 0
+ },
+ "script_files" => [
+ "bin/perlhl"
+ ]
+);
+
+
+my $build = Module::Build->new(%module_build_args);
+
+$build->create_build_script;
View
51 Makefile.PL
@@ -2,39 +2,44 @@
use strict;
use warnings;
-BEGIN { require 5.006; }
+use 5.010001;
use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (
- 'ABSTRACT' => 'application class for syntax highlighting Perl source code',
- 'AUTHOR' => 'Mike Doherty <doherty@cpan.org>',
- 'BUILD_REQUIRES' => {
- 'File::Find' => '0',
- 'File::Temp' => '0',
- 'Test::More' => '0'
+ "ABSTRACT" => "application class for syntax highlighting Perl source code",
+ "AUTHOR" => "Mike Doherty <doherty\@cpan.org>",
+ "BUILD_REQUIRES" => {
+ "File::Find" => 0,
+ "File::Temp" => 0,
+ "Module::Build" => "0.3601",
+ "Test::More" => 0,
+ "Test::Output" => 0,
+ "open" => 0
},
- 'CONFIGURE_REQUIRES' => {
- 'ExtUtils::MakeMaker' => '6.30'
+ "CONFIGURE_REQUIRES" => {
+ "ExtUtils::MakeMaker" => "6.30",
+ "Module::Build" => "0.3601"
},
- 'DISTNAME' => 'App-perlhl',
- 'EXE_FILES' => [
- 'bin/perlhl'
+ "DISTNAME" => "App-perlhl",
+ "EXE_FILES" => [
+ "bin/perlhl"
],
- 'LICENSE' => 'perl',
- 'NAME' => 'App::perlhl',
- 'PREREQ_PM' => {
- 'Getopt::Long' => '0',
- 'Pod::Usage' => '0',
- 'Syntax::Highlight::Perl::Improved' => '1.01',
- 'Term::ANSIColor' => '3.00',
- 'perl5i::2' => '0'
+ "LICENSE" => "perl",
+ "NAME" => "App::perlhl",
+ "PREREQ_PM" => {
+ "Getopt::Long" => 0,
+ "Pod::Usage" => 0,
+ "Syntax::Highlight::Perl::Improved" => "1.01",
+ "Term::ANSIColor" => "3.00",
+ "strict" => 0,
+ "warnings" => 0
},
- 'VERSION' => '0.003',
- 'test' => {
- 'TESTS' => 't/*.t'
+ "VERSION" => "0.004",
+ "test" => {
+ "TESTS" => "t/*.t"
}
);
View
15 README
@@ -2,7 +2,7 @@ NAME
App::perlhl - application class for syntax highlighting Perl source code
VERSION
- version 0.003
+ version 0.004
SYNOPSIS
use App::perlhl;
@@ -41,23 +41,16 @@ AVAILABILITY
The latest version of this module is available from the Comprehensive
Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find a
- CPAN site near you, or see <http://search.cpan.org/dist/App-perlhl/>.
-
- The development version lives at <http://github.com/doherty/App-perlhl>
- and may be cloned from <git://github.com/doherty/App-perlhl.git>.
- Instead of sending patches, please fork this project using the standard
- git and github infrastructure.
+ CPAN site near you, or see <https://metacpan.org/module/App::perlhl/>.
SOURCE
The development version is on github at
<http://github.com/doherty/App-perlhl> and may be cloned from
<git://github.com/doherty/App-perlhl.git>
BUGS AND LIMITATIONS
- No bugs have been reported.
-
- Please report any bugs or feature requests through the web interface at
- <https://github.com/doherty/App-perlhl/issues>.
+ You can make new bug reports, and view existing ones, through the web
+ interface at <https://github.com/doherty/App-perlhl/issues>.
AUTHOR
Mike Doherty <doherty@cpan.org>
View
73 README.mkdn
@@ -0,0 +1,73 @@
+# NAME
+
+App::perlhl - application class for syntax highlighting Perl source code
+
+# VERSION
+
+version 0.004
+
+# SYNOPSIS
+
+ use App::perlhl;
+ App::perlhl->new({})->run({}, \@ARGV);
+
+# DESCRIPTION
+
+__App::perlhl__ is the application class backing [perlhl](http://search.cpan.org/perldoc?perlhl).
+
+# METHODS
+
+## new
+
+This instantiates a new App::perlhl object. It takes a hashref
+of options:
+
+- html
+
+If true, the output will be an HTML fragment suitable for publishing as part
+of a web page. __NOTE:__ In the future, this might output a whole valid document.
+
+The default is to output ANSI colour codes suitable for printing to any
+reasonable shell or terminal (which probably means you have the one that'll
+break -- well it works on mine, so neener neener).
+
+## run
+
+Unsurprisingly, this runs the application. The method takes a hashref of options,
+and an arrayref of filenames to highlight. If there are no filenames, defaults to
+`STDIN`.
+
+## Options
+
+- version
+
+If present, the application will print version data and exit.
+
+# AVAILABILITY
+
+The project homepage is [http://p3rl.org/App::perlhl](http://p3rl.org/App::perlhl).
+
+The latest version of this module is available from the Comprehensive Perl
+Archive Network (CPAN). Visit [http://www.perl.com/CPAN/](http://www.perl.com/CPAN/) to find a CPAN
+site near you, or see [https://metacpan.org/module/App::perlhl/](https://metacpan.org/module/App::perlhl/).
+
+# SOURCE
+
+The development version is on github at [http://github.com/doherty/App-perlhl](http://github.com/doherty/App-perlhl)
+and may be cloned from [git://github.com/doherty/App-perlhl.git](git://github.com/doherty/App-perlhl.git)
+
+# BUGS AND LIMITATIONS
+
+You can make new bug reports, and view existing ones, through the
+web interface at [https://github.com/doherty/App-perlhl/issues](https://github.com/doherty/App-perlhl/issues).
+
+# AUTHOR
+
+Mike Doherty <doherty@cpan.org>
+
+# COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Mike Doherty.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.

0 comments on commit 73a17a7

Please sign in to comment.