Permalink
Browse files

minil migrate

  • Loading branch information...
1 parent 2e4fe24 commit 61d8fefff81a2af769ffbcb2a71a3522cc8c3198 @shibayu36 shibayu36 committed Apr 16, 2013
Showing with 419 additions and 255 deletions.
  1. +6 −1 .gitignore
  2. +0 −4 .shipit
  3. +34 −36 Build.PL
  4. +2 −0 Changes
  5. +0 −32 MANIFEST
  6. +0 −93 MANIFEST.SKIP
  7. +92 −0 META.json
  8. +263 −0 README.md
  9. +0 −1 README.pod
  10. +22 −0 cpanfile
  11. +0 −64 xt/01_podspell.t
  12. +0 −4 xt/03_pod.t
  13. +0 −4 xt/04_minimum_version.t
  14. +0 −5 xt/05_cpan_meta.t
  15. +0 −11 xt/06_meta_author.t
View
@@ -13,7 +13,12 @@ pm_to_blib
blib/
META.yml
MYMETA.*
-META.json
META.yml
README
LICENSE
+/Cinnamon-*
+/.build
+/_build_params
+/Build
+!Build/
+!META.json
View
@@ -1,4 +0,0 @@
-steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist, UploadCPAN
-
-git.tagpattern = %v
-git.push_to=origin
View
@@ -1,52 +1,50 @@
use strict;
-use warnings;
use Module::Build;
+use File::Basename;
+use File::Spec;
+use CPAN::Meta;
+use CPAN::Meta::Prereqs;
-my $build = Module::Build->new(
- dist_author => [
- 'Yuki Shibazaki <shibayu36@gmail.com>',
- 'Kentaro Kuribayashi kentarok@gmail.com',
- ],
- dist_version_from => 'lib/Cinnamon.pm',
+# =========================================================================
+# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA.
+# DO NOT EDIT DIRECTLY.
+# =========================================================================
+
+use 5.008;
+
+my $builder = Module::Build->new(
license => 'perl',
dynamic_config => 0,
- configure_requires => { 'Module::Build' => '0.38' },
- requires => {
- perl => "$]",
- parent => '0',
-
- 'Term::ANSIColor' => 0,
- 'IPC::Run' => 0,
- 'Net::OpenSSH' => 0,
- 'Log::Dispatch' => 0,
- 'Class::Load' => 0,
- 'Term::ReadKey' => 0,
- 'Getopt::Long' => 0,
- 'AnyEvent' => 0,
- 'POSIX' => 0,
- 'YAML' => 0,
- 'Coro' => 0,
- },
- build_requires => {
- 'Directory::Scratch' => 0,
- 'Cwd::Guard' => 0,
- 'Capture::Tiny' => 0,
- 'Test::More' => 0.98,
- 'Test::Class' => 0,
- 'Test::Requires' => 0,
+ configure_requires => {
+ 'Module::Build' => 0.38,
},
no_index => { 'directory' => [ 'inc' ] },
name => 'Cinnamon',
module_name => 'Cinnamon',
- # script_files => [''],
+ script_files => [glob('script/*'), glob('bin/*')],
- test_files => (-d '.git' || $ENV{RELEASE_TESTING}) ? 't/ xt/' : 't/',
+ test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
recursive_test_files => 1,
+);
+$builder->create_build_script();
- create_readme => 1,
- create_license => 1,
+my $mbmeta = CPAN::Meta->load_file('MYMETA.json');
+my $meta = CPAN::Meta->load_file('META.json');
+my $prereqs_hash = CPAN::Meta::Prereqs->new(
+ $meta->prereqs
+)->with_merged_prereqs(
+ CPAN::Meta::Prereqs->new($mbmeta->prereqs)
+)->as_string_hash;
+my $mymeta = CPAN::Meta->new(
+ {
+ %{$meta->as_struct},
+ prereqs => $prereqs_hash
+ }
);
-$build->create_build_script();
+print "Merging cpanfile prereqs to MYMETA.yml\n";
+$mymeta->save('MYMETA.yml', { version => 1.4 });
+print "Merging cpanfile prereqs to MYMETA.json\n";
+$mymeta->save('MYMETA.json', { version => 2 });
View
@@ -1,5 +1,7 @@
Revision history for Perl extension Cinnamon
+{{$NEXT}}
+
0.20 Tue Apr 16 19:27:04 2013
- official concurrency support
- NOTICE: Since current version, a task is executed in parallel by all the hosts by default. See documentation for details.
View
@@ -1,32 +0,0 @@
-bin/cinnamon
-Build.PL
-Changes
-eg/naoya.pl
-eg/simple.pl
-lib/Cinnamon.pm
-lib/Cinnamon/CLI.pm
-lib/Cinnamon/Config.pm
-lib/Cinnamon/Config/Loader.pm
-lib/Cinnamon/DSL.pm
-lib/Cinnamon/HandleManager.pm
-lib/Cinnamon/Local.pm
-lib/Cinnamon/Logger.pm
-lib/Cinnamon/Remote.pm
-lib/Cinnamon/Runner.pm
-LICENSE
-MANIFEST This list of files
-META.json
-META.yml
-README
-t/00_compile.t
-t/01_remote.t
-t/02_cli.t
-t/03_dsl.t
-t/lib/Test/Cinnamon/CLI.pm
-xt/01_podspell.t
-xt/02_perlcritic.t
-xt/03_pod.t
-xt/04_minimum_version.t
-xt/05_cpan_meta.t
-xt/06_meta_author.t
-xt/Cinnamon.pm
View
@@ -1,93 +0,0 @@
-
-#!start included /Users/antipop/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/ExtUtils/MANIFEST.SKIP
-# Avoid version control files.
-\bRCS\b
-\bCVS\b
-\bSCCS\b
-,v$
-\B\.svn\b
-\B\.git\b
-\B\.gitignore\b
-\b_darcs\b
-\B\.cvsignore$
-
-# Avoid VMS specific MakeMaker generated files
-\bDescrip.MMS$
-\bDESCRIP.MMS$
-\bdescrip.mms$
-
-# Avoid Makemaker generated and utility files.
-\bMANIFEST\.bak
-\bMakefile$
-\bblib/
-\bMakeMaker-\d
-\bpm_to_blib\.ts$
-\bpm_to_blib$
-\bblibdirs\.ts$ # 6.18 through 6.25 generated this
-
-# Avoid Module::Build generated and utility files.
-\bBuild$
-\b_build/
-\bBuild.bat$
-\bBuild.COM$
-\bBUILD.COM$
-\bbuild.com$
-
-# Avoid temp and backup files.
-~$
-\.old$
-\#$
-\b\.#
-\.bak$
-\.tmp$
-\.#
-\.rej$
-
-# Avoid OS-specific files/dirs
-# Mac OSX metadata
-\B\.DS_Store
-# Mac OSX SMB mount metadata files
-\B\._
-
-# Avoid Devel::Cover and Devel::CoverX::Covered files.
-\bcover_db\b
-\bcovered\b
-
-# Avoid MYMETA files
-^MYMETA\.
-#!end included /Users/antipop/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/ExtUtils/MANIFEST.SKIP
-
-^\.git/
-\bRCS\b
-\bCVS\b
-^MANIFEST\.
-^Makefile$
-~$
-^#
-\.old$
-^blib/
-^pm_to_blib
-^MakeMaker-\d
-^[^/]+\.gz$
-\.cvsignore
-^t/perlcritic
-^tools/
-\.svn/
-^[^/]+\.yaml$
-^\.shipit$
-\.sw[po]$
-^Build$
-^ppport.h$
-^xshelper.h$
-cover_db
-nytprof
-perltidy.ERR$
-^README.pod$
-^README.mkdn$
-^tags$
-^Cinnamon-
-^MYMETA\.
-\b_build
-^MANIFEST\.SKIP
-\b\.gitignore
-\.bak$
View
@@ -0,0 +1,92 @@
+{
+ "abstract" : "A minimalistic deploy tool",
+ "author" : [
+ "=over 4"
+ ],
+ "dynamic_config" : 0,
+ "generated_by" : "Minilla/v0.0.53, CPAN::Meta::Converter version 2.130880",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "Cinnamon",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "xt",
+ "inc",
+ "share",
+ "eg",
+ "examples"
+ ]
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "Capture::Tiny" : "0",
+ "Cwd::Guard" : "0",
+ "Directory::Scratch" : "0",
+ "Test::Class" : "0",
+ "Test::More" : "0.98",
+ "Test::Requires" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "CPAN::Meta" : "0",
+ "CPAN::Meta::Prereqs" : "0",
+ "Module::Build" : "0.38"
+ }
+ },
+ "develop" : {
+ "requires" : {
+ "Pod::Wordlist::hanekomu" : "0",
+ "Test::CPAN::Meta" : "0",
+ "Test::MinimumVersion" : "0.10108",
+ "Test::Pod" : "1.41",
+ "Test::Spelling" : "0"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "AnyEvent" : "0",
+ "Class::Load" : "0",
+ "Coro" : "0",
+ "Getopt::Long" : "0",
+ "IPC::Run" : "0",
+ "Log::Dispatch" : "0",
+ "Net::OpenSSH" : "0",
+ "POSIX" : "0",
+ "Term::ANSIColor" : "0",
+ "Term::ReadKey" : "0",
+ "YAML" : "0",
+ "parent" : "0",
+ "perl" : "5.014002"
+ }
+ }
+ },
+ "release_status" : "unstable",
+ "resources" : {
+ "bugtracker" : {
+ "web" : "https://github.com/kentaro/cinnamon/issues"
+ },
+ "homepage" : "https://github.com/kentaro/cinnamon",
+ "repository" : {
+ "type" : "git",
+ "url" : "git://github.com/kentaro/cinnamon.git",
+ "web" : "https://github.com/kentaro/cinnamon"
+ }
+ },
+ "version" : "0.20",
+ "x_contributors" : [
+ "wakabatan <wakabatan@localhost.localdomain>",
+ "hatyuki <hatyuki29@gmail.com>",
+ "Syohei YOSHIDA <syohex@gmail.com>",
+ "hayajo <hayajo@cpan.org>",
+ "Kentaro Kuribayashi <kentarok@gmail.com>",
+ "shiba_yu36 <shibayu36@gmail.com>"
+ ]
+}
Oops, something went wrong.

0 comments on commit 61d8fef

Please sign in to comment.