App-Microsite-Assemble

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::Pod" : "1.41"
         }
      },
      "runtime" : {
         "requires" : {
            "File::Next" : "0",
            "JSON" : "0",
            "Path::Class" : "0",
            "Text::Handlebars" : "0",
            "Text::Xslate" : "0",
            "Try::Tiny" : "0"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "homepage" : "https://github.com/sartak/App-Microsite-Assemble",
      "repository" : {
         "type" : "git",
         "url" : "https://github.com/sartak/App-Microsite-Assemble.git",
         "web" : "https://github.com/sartak/App-Microsite-Assemble"

META.yml  view on Meta::CPAN

meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: 1.4
name: App-Microsite-Assemble
requires:
  File::Next: 0
  JSON: 0
  Path::Class: 0
  Text::Handlebars: 0
  Text::Xslate: 0
  Try::Tiny: 0
resources:
  homepage: https://github.com/sartak/App-Microsite-Assemble
  repository: https://github.com/sartak/App-Microsite-Assemble.git
version: 0.03

Makefile.PL  view on Meta::CPAN

  "DISTNAME" => "App-Microsite-Assemble",
  "EXE_FILES" => [],
  "LICENSE" => "perl",
  "NAME" => "App::Microsite::Assemble",
  "PREREQ_PM" => {
    "File::Next" => 0,
    "JSON" => 0,
    "Path::Class" => 0,
    "Text::Handlebars" => 0,
    "Text::Xslate" => 0,
    "Try::Tiny" => 0
  },
  "TEST_REQUIRES" => {},
  "VERSION" => "0.03",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {

dist.ini  view on Meta::CPAN

[TestRelease]
[PodWeaver]
[MetaJSON]
[GithubMeta]
[MetaResources]

[Prereqs]
File::Next       = 0
Path::Class      = 0
JSON             = 0
Try::Tiny        = 0
Text::Handlebars = 0
Text::Xslate     = 0

lib/App/Microsite/Assemble.pm  view on Meta::CPAN

package App::Microsite::Assemble;
{
  $App::Microsite::Assemble::VERSION = '0.03';
}
# ABSTRACT: Assemble a microsite with Handlebars
use strict;
use warnings;
use File::Next;
use Path::Class;
use JSON;
use Try::Tiny;
use Text::Handlebars;
use Text::Xslate 'mark_raw';

sub assemble {
    my $class = shift;
    my $args = {
        wrapper_name     => 'wrapper.handlebars',
        content_name     => 'content.handlebars',
        config_name      => 'config.json',
        templates_dir    => 'templates/',



( run in 0.648 second using v1.01-cache-2.11-cpan-05444aca049 )