blob: 3ad5289c5e1b086f87ddea419eea3fc3fecaf036 [file] [log] [blame]
#
# SPDX-License-Identifier: GPL-2.0-only
#
from django.core.management.base import BaseCommand
from orm.models import Build
class Command(BaseCommand):
args = ""
help = "Lists current builds"
def handle(self,**options):
for b in Build.objects.all():
print("%d: %s %s %s" % (b.pk, b.machine, b.distro, ",".join([x.target for x in b.target_set.all()])))