tAdd target to install scoreboard binary - scoreboard - Interactive scoreboard for CTF-like games
(HTM) git clone git://git.z3bra.org/scoreboard.git
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit fa790c7999b6849352187e0619a7a20d070c585b
(DIR) parent 000adea9f154bdfb9073b75d7538afef7a8de370
(HTM) Author: Willy Goiffon <contact@z3bra.org>
Date: Thu, 31 Aug 2023 14:22:40 +0200
Add target to install scoreboard binary
Diffstat:
M mkfile | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/mkfile b/mkfile
t@@ -4,5 +4,14 @@ SRC = `{find . -name '*.go'}
scoreboard: ${SRC}
${GO} build
+scoreboard.OpenBSD: ${SRC}
+ GOOS=openbsd ${GO} build -a
+ mv scoreboard $target
+
+install:V: scoreboard.OpenBSD
+ install -m 0755 $prereq ../../cyberhunt.drist/users/files/board/scoreboard
+ cd ../../cyberhunt.drist/users
+ mk
+
clean:V:
- rm -f scoreboard
+ rm -f scoreboard scoreboard.OpenBSD