summaryrefslogtreecommitdiff
path: root/tools/list_targets.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/list_targets.pl')
-rwxr-xr-xtools/list_targets.pl27
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/list_targets.pl b/tools/list_targets.pl
new file mode 100755
index 0000000000..039c14f0db
--- /dev/null
+++ b/tools/list_targets.pl
@@ -0,0 +1,27 @@
1#!/usr/bin/perl
2# __________ __ ___.
3# Open \______ \ ____ ____ | | _\_ |__ _______ ___
4# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7# \/ \/ \/ \/ \/
8#
9# List all targets in builds.pm, categorized by target status.
10
11require "./builds.pm";
12
13print "Stable:\n";
14
15for my $b (&stablebuilds) {
16 print $builds{$b}{name} , "\n";
17}
18
19print "Unstable:\n";
20for my $b (&usablebuilds) {
21 print $builds{$b}{name} , "\n";
22}
23
24print "Unusable:\n";
25for my $b (&allbuilds) {
26 print $builds{$b}{name} , "\n" if($builds{$b}{status} == 1);
27}