mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-20 02:49:49 +01:00
Add bash to compiler_vm languages
This commit is contained in:
parent
5f1f350046
commit
5e2cd4fd22
18
modules/compiler_vm/languages/bash.pm
Executable file
18
modules/compiler_vm/languages/bash.pm
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
|
use warnings;
|
||||||
|
use strict;
|
||||||
|
|
||||||
|
package bash;
|
||||||
|
use parent '_default';
|
||||||
|
|
||||||
|
sub initialize {
|
||||||
|
my ($self, %conf) = @_;
|
||||||
|
|
||||||
|
$self->{sourcefile} = 'prog.bash';
|
||||||
|
$self->{execfile} = 'prog.bash';
|
||||||
|
$self->{default_options} = '';
|
||||||
|
$self->{cmdline} = 'bash $options $sourcefile';
|
||||||
|
}
|
||||||
|
|
||||||
|
1;
|
Loading…
Reference in New Issue
Block a user