diff options
Diffstat (limited to 'tools/build-info.pl')
-rwxr-xr-x | tools/build-info.pl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/build-info.pl b/tools/build-info.pl new file mode 100755 index 0000000000..157e29fb1b --- /dev/null +++ b/tools/build-info.pl | |||
@@ -0,0 +1,28 @@ | |||
1 | #!/usr/bin/perl | ||
2 | # __________ __ ___. | ||
3 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | # \/ \/ \/ \/ \/ | ||
8 | # | ||
9 | # Generate the build-info.release file found on download.rockbox.org | ||
10 | |||
11 | require "./builds.pm"; | ||
12 | |||
13 | print "[release]\n"; | ||
14 | |||
15 | foreach my $b (&stablebuilds) { | ||
16 | if(exists($builds{$b}{release})) { | ||
17 | print "$b=$builds{$b}{release}\n"; | ||
18 | } | ||
19 | else { | ||
20 | print "$b=$publicrelease\n"; | ||
21 | } | ||
22 | } | ||
23 | |||
24 | print "[status]\n"; | ||
25 | |||
26 | foreach my $b (&allbuilds) { | ||
27 | print "$b=$builds{$b}{status}\n"; | ||
28 | } | ||