Changeset 7 in code


Ignore:
Timestamp:
Dec 14, 2022, 3:01:36 AM (2 years ago)
Author:
koizumi.aoi
Message:

Release v1.3:

  • Rename to stcli
  • Removed useless imports
  • Removed a no-op function call
  • Update README

Signed-off-by: Aoi K <koizumi.aoi@…>

Location:
trunk
Files:
1 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r5 r7  
    44        go build
    55clean:
    6         rm -f stcli-go
     6        rm -f stcli
    77install: build
    8         install -Dm0755 stcli-go ${PREFIX}/bin/stcli-go
     8        install -Dm0755 stcli ${PREFIX}/bin/stcli
    99uninstall:
    10         rm -f ${PREFIX}/bin/stcli-go
    11         rm -f ${PREFIX}/share/man/man1/stcli-go.1
     10        rm -f ${PREFIX}/bin/stcli
     11        rm -f ${PREFIX}/share/man/man1/stcli.1
  • trunk/README

    r3 r7  
    1 stcli-go
    2 ========
     1stcli
     2=====
    33Command-line client for SimplyTranslate in Go.
  • trunk/go.mod

    r6 r7  
    1 module git.kyoko-project.wer.ee/koizumi.aoi/stcli-go
     1module gitler.moe/novaburst/stcli
    22
    33go 1.18
  • trunk/main.go

    r6 r7  
    1 // $KyokoNet: stcli-go,v 1.2 2022/12/13 22:13:00 akoizumi Exp
    2 // Command line client for SimplyTranslate, a privacy friendly frontend to Google Translate
     1// $KyokoNet: stcli,v 1.3 2022/12/13 23:57:00 akoizumi Exp
     2// Command line client for SimplyTranslate, a privacy friendly frontend to other translation engines
    33package main
    44
     
    1111        "net/http"
    1212        "net/url"
    13         "os"
    1413)
    1514var (
     
    3736        if len(input) == 0 || len(to) == 0 {
    3837                log.Fatal("Missing either the text or the target language.")
    39                 os.Exit(1)
    4038        }
    4139        // Map a variable to the struct
Note: See TracChangeset for help on using the changeset viewer.