"LSMDATE" => `date '+%y%m%d' | tr -d '\n'`,
"distfiles" => [
],
- "archivedir" => "/home/mj/tmp/archives/$basename",
+ "archivedir" => $ENV{HOME} . "/archives/sw/$basename",
"uploads" => [
],
"notifiers" => [
],
+ "test_cmd" => "make",
# Options
"do_test" => 1,
"do_patch" => 1,
my $dd = $s->{"DISTDIR"};
my $pkg = $s->{"PKG"};
my $log = "$dd/$pkg.log";
+ my $test_cmd = $s->{"test_cmd"};
print "Doing a test compilation\n";
- `( cd $dd/$pkg && make ) >$log 2>&1`;
+ `( cd $dd/$pkg && $test_cmd ) >$log 2>&1`;
die "There were errors. Please inspect $log" if $?;
`grep -q [Ww]arning $log`;
$? or print "There were warnings! Please inspect $log.\n";
print "Updating web pages\n";
my $pkg = $s->{'PACKAGE'};
my $ver = $s->{'VERSION'};
- `ssh jw 'cd www && bin/release-prog $pkg $ver'`; die if $?;
+ `ssh jw 'cd web && bin/release-prog $pkg $ver'`; die if $?;
};
};