mirror of https://github.com/pragma-/pbot.git
Add python to compiler_vm languages
This commit is contained in:
parent
5e2cd4fd22
commit
a41906d323
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env perl
|
||||
|
||||
use warnings;
|
||||
use strict;
|
||||
|
||||
package python;
|
||||
use parent '_default';
|
||||
|
||||
sub initialize {
|
||||
my ($self, %conf) = @_;
|
||||
|
||||
$self->{sourcefile} = 'prog.py';
|
||||
$self->{execfile} = 'prog.py';
|
||||
$self->{default_options} = '';
|
||||
$self->{cmdline} = 'python $options $sourcefile';
|
||||
}
|
||||
|
||||
1;
|
Loading…
Reference in New Issue