This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Assuming that you're using jruby-gradle 1.0.3, you'll need to take these steps: | |
1. In your build.gradle, in addition to your gems dependencies, you'll need: | |
jrubyJar { | |
initScript runnable() | |
} | |
configurations { | |
jrubyJar { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
ARTIFACT="artifact" | |
COMMAND=$(basename $0) | |
COMMAND=${COMMAND/j-/} # Remove the leading 'j-' from the command name | |
BASE_PATH=${BASH_SOURCE%/*} | |
DEBUG= | |
if [ "$COVERAGE" == "true" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package.path = package.path .. ';lua_lib/?.lua;lua_lib/?/init.lua' | |
local irc = require("irc") | |
local mirc_colors = { | |
'FFFFFF', -- White | |
'000000', -- Black | |
'00007F', -- Blue | |
'009300', -- Green | |
'FF0000', -- Light Red | |
'7F0000', -- Brown | |
'9C009C', -- Purple |