Changeset 18 in code
- Timestamp:
- Sep 23, 2023, 8:41:57 PM (21 months ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r17 r18 2 2 3 3 GOARCH ?= amd64 4 GOFLAGS ?= -v -ldflags "-w -X `go list`.Version=$ (VERSION) -X `go list`.Commit=$(COMMIT) -X `go list`.Build=$(BUILD)" -tags "static_build"4 GOFLAGS ?= -v -ldflags "-w -X `go list`.Version=${VERSION} -X `go list`.Commit=${COMMIT} -X `go list`.Build=${BUILD}" -tags "static_build" 5 5 GOOS ?= linux 6 6 … … 10 10 VERSION = `git describe --abbrev=0 --tags 2>/dev/null || echo "$VERSION"` 11 11 12 build: 13 go build $(GOFLAGS) ./cmd/suwako 14 strip suwako 12 all: suwako suwako-mozhi 13 14 suwako: 15 go build ${GOFLAGS} ./cmd/suwako 16 suwako-mozhi: 17 go build ${GOFLAGS} ./cmd/suwako-mozhi 15 18 clean: 16 rm -f suwako 19 rm -f suwako suwako-mozhi 17 20 install: 18 21 install -Dm0755 suwako ${PREFIX}/bin/suwako 22 install -Dm0755 suwako-mozhi ${PREFIX}/bin/suwako-mozhi 19 23 install -Dm0644 suwako.1 ${PREFIX}/share/man/man1/suwako.1 20 24 uninstall: 21 25 rm -f ${PREFIX}/bin/suwako 26 rm -f ${PREFIX}/bin/suwako-mozhi 22 27 rm -f ${PREFIX}/share/man/man1/suwako.1 -
trunk/cmd/suwako/main.go
r17 r18 22 22 ) 23 23 type Translate struct { 24 Output string `json:"translated -text"`24 Output string `json:"translated_text"` 25 25 } 26 26 func init() { -
trunk/suwako.1
r17 r18 4 4 .Sh NAME 5 5 .Nm suwako 6 .Nd Command-line client for SimplyTranslate in Go6 .Nd Command-line client for privacy friendly translation frontends 7 7 .Sh SYNOPSIS 8 8 .Nm
Note:
See TracChangeset
for help on using the changeset viewer.