Skip to content

Commit 4c08910

Browse files
committedJan 14, 2020
add make server
1 parent 1c6e0f7 commit 4c08910

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 

‎Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ clean:
44
rm -r public
55
test:
66
carton install && carton exec -- prove -Ilib -r t
7+
server:
8+
carton exec -- plackup -p 5555 -MPlack::App::Directory -e 'Plack::App::Directory->new({root => "public"})->to_app'

‎cpanfile

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ requires 'Text::Xatena';
99
requires 'Text::Markdown';
1010
requires 'Pod::Simple::XHTML';
1111

12+
on 'develop' => sub {
13+
requires 'Plack';
14+
};
15+
1216
on 'test' => sub {
1317
requires 'Test2::V0';
1418
};

0 commit comments

Comments
 (0)
Please sign in to comment.