projects
/
gruntmaster-daemon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add formats GCCGO, GOLANG, HASKELL
[gruntmaster-daemon.git]
/
lib
/
Gruntmaster
/
Daemon.pm
diff --git
a/lib/Gruntmaster/Daemon.pm
b/lib/Gruntmaster/Daemon.pm
index 6cc6431d050cd858ee8cad47a2c6528f6f6973c7..1c8ceceda53f8cd4d76e9084af41bbcdc3cde83c 100644
(file)
--- a/
lib/Gruntmaster/Daemon.pm
+++ b/
lib/Gruntmaster/Daemon.pm
@@
-4,7
+4,7
@@
use 5.014000;
use strict;
use warnings;
use strict;
use warnings;
-our $VERSION = '5999.000_00
2
';
+our $VERSION = '5999.000_00
3
';
use Gruntmaster::Daemon::Constants qw/ERR/;
use Gruntmaster::Daemon::Format qw/prepare_files/;
use Gruntmaster::Daemon::Constants qw/ERR/;
use Gruntmaster::Daemon::Format qw/prepare_files/;
@@
-23,6
+23,9
@@
use constant PAGE_SIZE => 10;
use constant FORMAT_EXTENSION => {
C => 'c',
CPP => 'cpp',
use constant FORMAT_EXTENSION => {
C => 'c',
CPP => 'cpp',
+ GCCGO => 'go',
+ GOLANG => 'go',
+ HASKELL => 'hs',
MONO => 'cs',
JAVA => 'java',
PASCAL => 'pas',
MONO => 'cs',
JAVA => 'java',
PASCAL => 'pas',
@@
-140,7
+143,7
@@
sub process{
$jobr->update({
result => $meta->{result},
result_text => $meta->{result_text},
$jobr->update({
result => $meta->{result},
result_text => $meta->{result_text},
-
results => encode_json $meta->{results}
,
+
($meta->{results} ? (results => encode_json $meta->{results}) : ())
,
$errors ? (errors => $errors) : ()
});
$errors ? (errors => $errors) : ()
});
This page took
0.010485 seconds
and
4
git commands to generate.