Skip to content

aanoaa/p5-hubot-scripts

Repository files navigation

p5-hubot-scripts

Installation

$ cpanm --installdeps .

Documentation

just write a pod in source code

=head1 SYNOPSIS

  hubot: usage here

=head1 DESCRIPTION

  this is blablabla

=head1 CONFIGURATION

=over

=item ENV_VARS_TO_SET1

=item ENV_VARS_TO_SET2

=back

=head1 AUTHOR

Hyungsuk Hong <hshong@perl.kr>

=cut

cpan or cpanm command will help dependency problem at install time

Make your own script for Dist::Zilla user

make sure copy misc/dzil/profiles/hubot directory to $HOME/.dzil/profiles

$ dzil new -p hubot Hubot::Script::awesome

How test your script

  • use Shell adapter
  • add script to hubot-scripts.json
  • make sure Perl knows your p5-hubot-scripts/lib path
$ cd /path/to/p5-hubot-scripts/
$ export PERL5LIB=./lib
$ hubot

About

optional scripts for p5-hubot, opt in via hubot-scripts.json

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages