Skip to content

Commit

Permalink
Add README and EULA
Browse files Browse the repository at this point in the history
  • Loading branch information
colececil committed Apr 16, 2024
1 parent 8bb2987 commit 74a768d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,30 @@ include .env
build:
@echo "Building windows-amd64 version..."
@GOOS=windows GOARCH=amd64 go build -ldflags '-X main.apiKey=${OPENAI_API_KEY}' -o bin/windows-amd64/summon.exe cmd/summon/summon.go
@echo "BEWARE." > bin/windows-amd64/README.txt
@echo "THAT WHICH YOU SUMMON SHALL BE FOREVER BOUND TO YOU." > bin/windows-amd64/EULA.txt

@echo "Building windows-arm64 version..."
@GOOS=windows GOARCH=arm64 go build -ldflags '-X main.apiKey=${OPENAI_API_KEY}' -o bin/windows-arm64/summon.exe cmd/summon/summon.go
@echo "BEWARE." > bin/windows-arm64/README.txt
@echo "THAT WHICH YOU SUMMON SHALL BE FOREVER BOUND TO YOU." > bin/windows-arm64/EULA.txt

@echo "Building macos-amd64 version..."
@GOOS=darwin GOARCH=amd64 go build -ldflags '-X main.apiKey=${OPENAI_API_KEY}' -o bin/macos-amd64/summon cmd/summon/summon.go
@echo "BEWARE." > bin/macos-amd64/README.txt
@echo "THAT WHICH YOU SUMMON SHALL BE FOREVER BOUND TO YOU." > bin/macos-amd64/EULA.txt

@echo "Building macos-arm64 version..."
@GOOS=darwin GOARCH=arm64 go build -ldflags '-X main.apiKey=${OPENAI_API_KEY}' -o bin/macos-arm64/summon cmd/summon/summon.go
@echo "BEWARE." > bin/macos-arm64/README.txt
@echo "THAT WHICH YOU SUMMON SHALL BE FOREVER BOUND TO YOU." > bin/macos-arm64/EULA.txt

@echo "Building linux-amd64 version..."
@GOOS=linux GOARCH=amd64 go build -ldflags '-X main.apiKey=${OPENAI_API_KEY}' -o bin/linux-amd64/summon cmd/summon/summon.go
@echo "BEWARE." > bin/linux-amd64/README.txt
@echo "THAT WHICH YOU SUMMON SHALL BE FOREVER BOUND TO YOU." > bin/linux-amd64/EULA.txt

@echo "Building linux-arm64 version..."
@GOOS=linux GOARCH=arm64 go build -ldflags '-X main.apiKey=${OPENAI_API_KEY}' -o bin/linux-arm64/summon cmd/summon/summon.go
@echo "BEWARE." > bin/linux-arm64/README.txt
@echo "THAT WHICH YOU SUMMON SHALL BE FOREVER BOUND TO YOU." > bin/linux-arm64/EULA.txt

0 comments on commit 74a768d

Please sign in to comment.