M META6.json => META6.json +2 -2
@@ 1,5 1,5 @@
{
- "api": 3,
+ "api": 4,
"depends": [
"JSON::Fast",
"Version::Chronological::Ryov",
@@ 16,5 16,5 @@
"scripts": {
"test": "zef test ."
},
- "version": "2020.01.07.1"
+ "version": "2020.01.08-break"
}=
\ No newline at end of file
M bin/ryomod => bin/ryomod +5 -5
@@ 29,11 29,11 @@ subset LibSubcommand of Str where * ~~ / :i @lib-aliases /;
subset TestSubcommand of Str where * ~~ / :i @test-aliases /;
multi MAIN(InitSubcommand,
- Str $path = $*CWD,
- :%config = load-config(),
- Str :$license = %config<license>,
- Str :@authors = %config<authors>,
- Str :$name = %*ENV<PWD>.IO.basename) {
+ $path = $*CWD,
+ :%config = load-config(),
+ :$license = %config<license>,
+ :@authors = %config<authors>,
+ :$name = $path.IO.basename.split('-')>>.tc.join('::')) {
if $path.IO.add('META6.json').e {
note 'META6.json already exists, aborting.' and exit
}