From fdbec9994a1a45e5b7321c1e7652643cbc1a555f Mon Sep 17 00:00:00 2001 From: Aleksandr Tihomirov Date: Sat, 7 Jan 2017 14:09:50 +0200 Subject: [PATCH] chore(goreleaser): Use build.main instead --- README.md | 8 ++++++++ cmd/gowo/LICENSE | 20 -------------------- cmd/gowo/README.md | 12 ------------ cmd/gowo/goreleaser.yml => goreleaser.yml | 1 + 4 files changed, 9 insertions(+), 32 deletions(-) delete mode 100644 cmd/gowo/LICENSE delete mode 100644 cmd/gowo/README.md rename cmd/gowo/goreleaser.yml => goreleaser.yml (83%) diff --git a/README.md b/README.md index 31cc6fc..9642819 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,14 @@ 2. Run the command `go get -u github.com/whats-this/owo.go/...`, this should get the library and build/install latest CLI. 3. Check the CLI to learn how to use the library. +# gowo - CLI for owo + +This is an example of how to use the library and also serves as a neat CLI. +You can find built binaries [here](https://github.com/whats-this/owo.go/releases). +To use the binaries you need owo key in a config file. +By default it looks for a config file named `.gowo.yaml` (other formats also applicable, but not tested) in `$HOME` & `./` (current working directory) +Currently gowo only cares about `key` and `cdn`, respectively `key` is the api key provided to you by service admins and `cdn` is the domain your uploaded files will be prefixed with. + # Contribute - Fork this repository diff --git a/cmd/gowo/LICENSE b/cmd/gowo/LICENSE deleted file mode 100644 index 92a6923..0000000 --- a/cmd/gowo/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -MIT License - -Copyright (c) 2016 @zet4 / @Zeta#2229 / - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/cmd/gowo/README.md b/cmd/gowo/README.md deleted file mode 100644 index e135847..0000000 --- a/cmd/gowo/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# gowo - CLI for owo - -This is an example of how to use the library and also serves as a neat CLI. -You can find built binaries [here](https://github.com/whats-this/owo.go/releases). -To use the binaries you need owo key in a config file. -By default it looks for a config file named `.gowo.yaml` (other formats also applicable, but not tested) in `$HOME` & `./` (current working directory) -Currently gowo only cares about `key` and `cdn`, respectively `key` is the api key provided to you by service admins and `cdn` is the domain your uploaded files will be prefixed with. - -# Contact - -- Aleksandr Tihomirov -- [my-name-is-zeta@and.my.foxgirlsare.sexy](mailto:my-name-is-zeta@and.my.foxgirlsare.sexy) \ No newline at end of file diff --git a/cmd/gowo/goreleaser.yml b/goreleaser.yml similarity index 83% rename from cmd/gowo/goreleaser.yml rename to goreleaser.yml index 2bc815b..1af8e65 100644 --- a/cmd/gowo/goreleaser.yml +++ b/goreleaser.yml @@ -1,6 +1,7 @@ repo: whats-this/owo.go binary_name: gowo build: + main: cmd/gowo/main.go arches: - amd64 - 386