mirror of https://bitbucket.org/ausocean/av.git
cmd/looper: simplify build constraints and document crippled build artifact
This commit is contained in:
parent
a7b97b0b1b
commit
3c7828599c
|
@ -1,15 +1,15 @@
|
||||||
// +build circleci
|
// +build !pi0,!pi3
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
circleci.go defines a dummy initialisation command for running on circleci.
|
not_pi.go lets looper build on non-RPi environments, but leaves a
|
||||||
|
non-functional executable.
|
||||||
|
|
||||||
AUTHORS
|
AUTHORS
|
||||||
Ella Pietraroia <ella@ausocean.org>
|
Dan Kortschak <dan@ausocean.org>
|
||||||
Scott Barnard <scott@ausocean.org>
|
|
||||||
|
|
||||||
LICENSE
|
LICENSE
|
||||||
Copyright (C) 2020 the Australian Ocean Lab (AusOcean)
|
Copyright (C) 2021 the Australian Ocean Lab (AusOcean)
|
||||||
|
|
||||||
It is free software: you can redistribute it and/or modify them
|
It is free software: you can redistribute it and/or modify them
|
||||||
under the terms of the GNU General Public License as published by the
|
under the terms of the GNU General Public License as published by the
|
||||||
|
@ -27,8 +27,12 @@ LICENSE
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "bitbucket.org/ausocean/utils/logger"
|
import (
|
||||||
|
"bitbucket.org/ausocean/utils/logger"
|
||||||
|
)
|
||||||
|
|
||||||
const audioCmd = ""
|
const audioCmd = "play"
|
||||||
|
|
||||||
func initCommand(log *logger.Logger) {}
|
func initCommand(l *logger.Logger) {
|
||||||
|
panic("looper is intended to be run on a Raspberry Pi 0 or 3.")
|
||||||
|
}
|
Loading…
Reference in New Issue