3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-18 18:09:49 +01:00
pbot/modules/compiler_vm/languages/java.pm

19 lines
307 B
Perl
Raw Normal View History

2015-04-10 12:43:45 +02:00
#!/usr/bin/env perl
use warnings;
use strict;
package java;
use parent '_default';
sub initialize {
my ($self, %conf) = @_;
$self->{sourcefile} = 'prog.java';
$self->{execfile} = 'prog';
$self->{default_options} = '';
$self->{cmdline} = 'javac $options $sourcefile';
}
1;