Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raku/evalbot
IRC bot for executing Raku code
https://github.com/raku/evalbot
raku
Last synced: 3 months ago
JSON representation
IRC bot for executing Raku code
- Host: GitHub
- URL: https://github.com/raku/evalbot
- Owner: Raku
- Created: 2010-09-05T10:51:41.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2020-11-15T19:29:22.000Z (about 4 years ago)
- Last Synced: 2024-10-07T10:00:10.394Z (3 months ago)
- Topics: raku
- Language: Perl
- Homepage: https://raku.org/community/irc
- Size: 271 KB
- Stars: 17
- Watchers: 148
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This is an IRC bot, which is designed to execute Raku commands from IRC, and
echo the output on IRC again.
Currently it runs as nick "camelia" on freenode, in #raku and other channels.Might also work for other languages :-)
To add a new execution target, conduct the following steps:
* build it on the server
* write a script that updates the repo and rebuilds. Store it in the evalbot
repo under build-scripts/rebuild-.sh or .pl
* add a cron job for regular rebuilding (crontab -e)
* add the target to %impls in evalbot.pl
* push everything
* pull on the server
* restart evalbot
* PROFITThe Rakudo Star releases aren't automatically built. To update to a new
release, conduct the following steps:* log in as the user that runs the evalbot
* download the rakudo-star-YYYY.MM.tar.gz tarball
* unpack, build install:tar xzf rakudo-star-YYYY.MM.tar.gz
cd rakudo-star-YYYY-MM
perl Configure.pl --backends=all --gen-moar && make && make install
echo YYYY.MM > install/version
cd ..* symlink to star:
rm star; ln -s rakudo-star-YYYY.MM/install