mirror of https://github.com/perkeep/perkeep.git
build: fix uistatic build skippage
Change-Id: I5a9db49072841e015d901597e7ac3065fddf8504
This commit is contained in:
parent
81547a9eb6
commit
26cc858c75
4
build.pl
4
build.pl
|
@ -309,7 +309,7 @@ sub find_go_camli_deps {
|
||||||
|
|
||||||
my $t = $targets{$target} or die "Bogus or undeclared build target: $target\n";
|
my $t = $targets{$target} or die "Bogus or undeclared build target: $target\n";
|
||||||
my $target_dir = dir($target);
|
my $target_dir = dir($target);
|
||||||
v2("Deps of $target in $target_dir?");
|
v2("Deps of $target in $target_dir");
|
||||||
opendir(my $dh, $target_dir) or die "Failed to open directory: $target\n";
|
opendir(my $dh, $target_dir) or die "Failed to open directory: $target\n";
|
||||||
my @go_files = grep { !m!^\.\#! } grep { !/_testmain\.go$/ } grep { /\.go$/ } readdir($dh);
|
my @go_files = grep { !m!^\.\#! } grep { !/_testmain\.go$/ } grep { /\.go$/ } readdir($dh);
|
||||||
closedir($dh);
|
closedir($dh);
|
||||||
|
@ -362,6 +362,8 @@ sub gen_target_makefile {
|
||||||
$type = "pkg";
|
$type = "pkg";
|
||||||
} elsif ($target =~ m!(server|clients)/go\b!) {
|
} elsif ($target =~ m!(server|clients)/go\b!) {
|
||||||
$type = "cmd";
|
$type = "cmd";
|
||||||
|
} elsif ($target =~ m!^camlistore\.org/!) {
|
||||||
|
# type to be set later
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue