shithub: ricket

Download patch

ref: 6b0f6799a17b98a6ee64b7ac3fa974019f5d4597
parent: b00bfa14e01b9a8af92febd116db4a084626bc33
author: Skyrbunny <tallesttower1@gmail.com>
date: Mon Sep 25 12:59:39 EDT 2023

Built for supported platforms.

--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,6 @@
+ARCHS = amd64 arm 386
+
 build:
-	GOOS=plan9 go build
-	@echo "Built plan 9 executable."
+	@echo "Building Ricket for: $(ARCHS)"
+	@$(foreach arch, $(ARCHS), mkdir -p bin/$(arch) ; GOOS=plan9 GOARCH=$(arch) go build -o bin/$(arch)/ricket ;)
+	@echo "Built plan 9 executables."
--- a/mkfile
+++ b/mkfile
@@ -1,6 +1,6 @@
 install:VQ:
     mkdir -p /$objtype/bin/ricket
-	cp ricket /$objtype/bin/ricket/run
+	cp bin/$objtype/ricket /$objtype/bin/ricket/run
     cp package.rc /$objtype/bin/ricket/package
 	cp ricket.troff /sys/man/1/ricket
     echo Ricket is now installed on your system.
@@ -11,6 +11,6 @@
     echo Bye, ricket!
 
 build:VQ:
-    echo Please note that go must be installed on the system for this to work.
+    echo Please note that go 1.19+ must be installed on the system for this to work.
     echo Attempting to build ricket from source.
     GOARCH=$objtype go build .
binary files a/ricket /dev/null differ