File: write-config.pl

package info (click to toggle)
libbson-xs-perl 0.8.4-2%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,000 kB
  • sloc: ansic: 9,760; perl: 1,046; makefile: 3
file content (33 lines) | stat: -rwxr-xr-x 647 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env perl
use v5.10;
use strict;
use warnings;
use utf8;
use open qw/:std :utf8/;

# Get helpers
use FindBin qw($Bin);
use lib "$Bin/../lib";
use EvergreenConfig;

sub main {
    my @tasks = (
        pre(qw/dynamicVars cleanUp fetchSource downloadPerl5Lib/),
        post(qw/cleanUp/),
        task( build => [qw/whichPerl buildModule uploadBuildArtifacts/] ),
        task(
            test       => [qw/whichPerl downloadBuildArtifacts testModule/],
            depends_on => 'build'
        ),
    );

    print assemble_yaml(
        timeout(600),
        buildvariants( \@tasks ),
    );

    return 0;
}

# execution
exit main();