Skip to content

Commit

Permalink
ritual
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Axel 'fREW' Schmidt committed Jan 1, 2015
1 parent 25c7cc2 commit f5ce3f2
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.gz
.build
App-Charon-*
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
sudo: false
language: perl
perl:
- "blead"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
- "5.8"

before_install:
- git clone git://github.com/haarg/perl-travis-helper
- source perl-travis-helper/init
- build-perl
- perl -V

install:
- export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
- cpanm --quiet --notest Devel::Cover::Report::Coveralls
- cpanm --quiet --notest --installdeps .

script:
- PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -lrsv t
- cover

after_success:
- cover -report coveralls
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Revision history for {{$dist->name}}

{{$NEXT}}
- Initial Release (Happy New Year! 🎆 🎇 🎆 )
4 changes: 4 additions & 0 deletions bin/charon
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
use strict;
use warnings;

# ABSTRACT: Share files over HTTP easily and conveniently

# PODNAME: charon

use Getopt::Long::Descriptive;
use IO::Async::Loop;
use Net::Async::HTTP::Server::PSGI;
Expand Down
4 changes: 4 additions & 0 deletions cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ requires 'IO::All';
requires 'Time::Duration::Parse';
requires 'App::Genpass';
requires 'IO::Socket::IP';

on test => sub {
requires 'Test::More' => 1;
};
19 changes: 19 additions & 0 deletions dist.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name = App-Charon
author = Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
license = Perl_5
copyright_holder = Arthur Axel "fREW" Schmidt
version = 0.001000

[NextRelease]
[@Git]
[@Basic]
[GithubMeta]
issues = 1

[MetaJSON]
[PickyPodWeaver]
[PkgVersion]
[ReadmeFromPod]
[PodSyntaxTests]

[Prereqs::FromCPANfile]
2 changes: 2 additions & 0 deletions lib/App/Charon/Web.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package App::Charon::Web;

# ABSTRACT: Internal (for now) Plack app behind charon

use utf8;
use Web::Simple;
use warnings NONFATAL => 'all';
Expand Down
14 changes: 14 additions & 0 deletions t/simple.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env perl

use strict;
use warnings;

use Test::More;

use lib 't/lib';

use App::Charon::Web;

ok 1, 'everything compiles';

done_testing;

0 comments on commit f5ce3f2

Please sign in to comment.