From e226a7a2eedd4c5738324241cbb676186d863099 Mon Sep 17 00:00:00 2001 From: Steve Bertrand Date: Thu, 31 Mar 2022 08:50:08 -0700 Subject: [PATCH 1/2] Add 'gen' command to 'dancer2' runs --- lib/Dancer2/Manual.pod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Dancer2/Manual.pod b/lib/Dancer2/Manual.pod index 4b3679a1f..0d48d38ea 100644 --- a/lib/Dancer2/Manual.pod +++ b/lib/Dancer2/Manual.pod @@ -46,7 +46,7 @@ the most recent version on CPAN. Create a web application using the dancer script: - $ dancer2 -a MyApp && cd MyApp + $ dancer2 gen -a MyApp && cd MyApp + MyApp + MyApp/config.yml + MyApp/Makefile.PL @@ -90,7 +90,7 @@ a script to start it. A default skeleton is used to bootstrap the new application, but you can use the C<-s> option to provide another skeleton. For example: - $ dancer2 -a MyApp -s ~/mydancerskel + $ dancer2 gen -a MyApp -s ~/mydancerskel For an example of a skeleton directory check the default one available in the C directory of your Dancer2 distribution. @@ -1868,7 +1868,7 @@ Carton builds them for you when you need it. First set up a new app: - $ dancer2 -a MyApp + $ dancer2 gen -a MyApp ... Delete the files that are not needed: From 4c76fc5d99913cb377b7a9cfda930ff84d6a9651 Mon Sep 17 00:00:00 2001 From: "Jason A. Crome" Date: Thu, 31 Mar 2022 22:46:24 -0400 Subject: [PATCH 2/2] reflect changes --- Changes | 1 + lib/Dancer2.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/Changes b/Changes index 81dedd751..cb98abbde 100644 --- a/Changes +++ b/Changes @@ -8,6 +8,7 @@ [ DOCUMENTATION ] * GH #1657: Fix the Dancer2::DeprecationPolicy abstract (Jason A. Crome) + * GH #1661: Add 'gen' command to 'dancer2' runs (Steve Bertrand) 0.400000 2022-03-13 22:16:13-04:00 America/New_York diff --git a/lib/Dancer2.pm b/lib/Dancer2.pm index 62065c433..f43580917 100644 --- a/lib/Dancer2.pm +++ b/lib/Dancer2.pm @@ -385,6 +385,7 @@ We are also on IRC: #dancer on irc.perl.org. Shlomi Fish Slava Goltser Snigdha + Steve Bertrand Steve Dondley Tatsuhiko Miyagawa Timothy Alexis Vass