Skip to content
Browse files

Checking in changes prior to tagging of version 0.26.

Changelog diff is:

diff --git a/Changes b/Changes
index c26ac8c..1a0d57e 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,9 @@ Revision history for Perl extension Cinnamon

 {{$NEXT}}

+0.26 2013-10-20T07:20:22Z
+    - add call DSL
+
 0.25 2013-07-25T10:21:13Z
     - remove @args in task, because we can specify parameter by -s option
  • Loading branch information...
1 parent 5d98832 commit 75583a95847f67bf81e29ca39bcd602d8bb6eb7c @shibayu36 shibayu36 committed Oct 20, 2013
Showing with 29 additions and 4 deletions.
  1. +2 −0 Build.PL
  2. +3 −0 Changes
  3. +7 −4 META.json
  4. +17 −0 README.md
View
2 Build.PL
@@ -29,9 +29,11 @@ my %args = (
script_files => [glob('script/*'), glob('bin/*')],
c_source => [qw()],
+ PL_files => {},
test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
recursive_test_files => 1,
+
);
if (-d 'share') {
$args{share_dir} = 'share';
View
3 Changes
@@ -2,6 +2,9 @@ Revision history for Perl extension Cinnamon
{{$NEXT}}
+0.26 2013-10-20T07:20:22Z
+ - add call DSL
+
0.25 2013-07-25T10:21:13Z
- remove @args in task, because we can specify parameter by -s option
View
11 META.json
@@ -4,7 +4,7 @@
"=over 4"
],
"dynamic_config" : 0,
- "generated_by" : "Minilla/v0.5.6, CPAN::Meta::Converter version 2.131560",
+ "generated_by" : "Minilla/v0.7.5, CPAN::Meta::Converter version 2.132830",
"license" : [
"perl_5"
],
@@ -21,7 +21,8 @@
"share",
"eg",
"examples",
- "author"
+ "author",
+ "builder"
]
},
"prereqs" : {
@@ -31,6 +32,8 @@
"Cwd::Guard" : "0",
"Directory::Scratch" : "0",
"Test::Class" : "0",
+ "Test::Fatal" : "0",
+ "Test::Mock::Guard" : "0",
"Test::More" : "0.98",
"Test::Requires" : "0"
}
@@ -82,7 +85,7 @@
"web" : "https://github.com/kentaro/cinnamon"
}
},
- "version" : "0.25",
+ "version" : "0.26",
"x_contributors" : [
"wakabatan <wakabatan@localhost.localdomain>",
"hatyuki <hatyuki29@gmail.com>",
@@ -91,6 +94,6 @@
"Kentaro Kuribayashi <kentarok@gmail.com>",
"TERAOKA Yoshinori <yteraoka@me.com>",
"mechairoi <ttsujikawa@gmail.com>",
- "shiba_yu36 <shibayu36@gmail.com>"
+ "shibayu36 <shibayu36@gmail.com>"
]
}
View
17 README.md
@@ -67,6 +67,13 @@ Cinnamon - A minimalistic deploy tool
},
};
+ # You can call other tasks
+ task deploy => sub {
+ my ($host) = @_;
+ call "update", $host;
+ call "restart", $host;
+ };
+
# WARNINGS
This software is under the heavy development and considered ALPHA quality. Things might be broken, not all features have been implemented, and APIs will be likely to change.
@@ -212,6 +219,16 @@ whereas done on localhost without it.
Remote login username is retrieved by `get 'user'` or ``whoami``
command. Set appropriate username in advance if needed.
+### call ( _$task\_name: String_, _$host: String_ )
+
+ task deploy => sub {
+ my ($host) = @_;
+ call "update", $host;
+ call "web:restart", $host;
+ };
+
+Call other tasks in a task code.
+
## Configuration Variables
Cinnamon configuration is managed by set function. You can customize following variables.

0 comments on commit 75583a9

Please sign in to comment.
Something went wrong with that request. Please try again.