Skip to content
Permalink
Browse files

Make it usable as a module

Moves executables to xbin and tests to xt, also adds a “provides”
section to META6.json.
  • Loading branch information...
AlexDaniel committed Sep 15, 2018
1 parent 232fe26 commit d4c92b7f8e22e01161be7d9184ee473287d4ff1d
@@ -1,14 +1,27 @@
{
"perl" : "6.c",
"name" : "Whateverable",
"version" : "0.9.0",
"version" : "1.0.0",
"description" : "Different IRC bots that operate on a bunch of prebuilt Rakudo versions",
"authors" : [
"Aleks-Daniel Jakimenko-Aleksejev <alex.jakimenko@gmail.com>",
"Daniel Green <ddgreen@gmail.com>"
],
"license" : "AGPL-3.0-or-later",
"provides" : { },
"provides" : {
"Whateverable" : "lib/Whateverable.pm6",
"Whateverable::Bits" : "lib/Whateverable::Bits.pm6",
"Whateverable::Builds" : "lib/Whateverable::Builds.pm6",
"Whateverable::Config" : "lib/Whateverable::Config.pm6",
"Whateverable::Configurable" : "lib/Whateverable::Configurable.pm6",
"Whateverable::Heartbeat" : "lib/Whateverable::Heartbeat.pm6",
"Whateverable::Messages" : "lib/Whateverable::Messages.pm6",
"Whateverable::Output" : "lib/Whateverable::Output.pm6",
"Whateverable::Processing" : "lib/Whateverable::Processing.pm6",
"Whateverable::Replaceable" : "lib/Whateverable::Replaceable.pm6",
"Whateverable::Running" : "lib/Whateverable::Running.pm6",
"Whateverable::Uniprops" : "lib/Whateverable::Uniprops.pm6"
},
"depends" : [
"App::GPTrixie",
"Config::INI",
@@ -1,5 +1,5 @@
#!/usr/bin/env perl6
my @bots = dir bin, test => / ‘able.p6’ $ /;
my @bots = dir xbin, test => / ‘able.p6’ $ /;

task help, {
note Useful commands:;
@@ -38,7 +38,7 @@ task ‘start-all’, {
}

task <kill stop>.any ~ <-all all>.any => @bots.map({kill: ~ to-name $_}), {;}
task test, { run prove, -j, 8, --exec, perl6, t; True }
task test, { run <prove -j 8 --exec perl6 xt>; True }
task upgrade => stop-all, { run rakudobrew, build, moar; True }

my $RSYNC = bisectable@94.23.219.181:/home/bisectable/git/whateverable/;
@@ -8,7 +8,7 @@ PartOf=whateverable-all.service
[Service]
Type=simple
User=bisectable
ExecStart=/home/bisectable/.rakudobrew/bin/perl6 /home/bisectable/git/whateverable/bin/%i.p6
ExecStart=/home/bisectable/.rakudobrew/bin/perl6 /home/bisectable/git/whateverable/xbin/%i.p6
Environment=PERL6LIB=/home/bisectable/git/whateverable/lib
#Environment=DEBUGGABLE=1
WorkingDirectory=/home/bisectable/git/whateverable
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d4c92b7

Please sign in to comment.
You can’t perform that action at this time.