Skip to content

Commit

Permalink
Make it usable as a module
Browse files Browse the repository at this point in the history
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 d4c92b7
Show file tree
Hide file tree
Showing 35 changed files with 18 additions and 5 deletions.
17 changes: 15 additions & 2 deletions META6.json
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions Sakefile
@@ -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:;
Expand Down Expand Up @@ -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/;
Expand Down
2 changes: 1 addition & 1 deletion services/whateverable@.service
Expand Up @@ -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
Expand Down
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.