From 8f82bae7a6fccc49d2933d453b1b6beaa4254ef0 Mon Sep 17 00:00:00 2001 From: Ramazan Sancar Date: Sun, 14 Apr 2024 16:13:27 +0000 Subject: [PATCH] upd: .gitignore & build command updated. --- .gitignore | 3 +++ README.md | 24 ++++++++++++++---------- 2 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2bade9c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# Build file for the wedl project +*.exe +wedl diff --git a/README.md b/README.md index cc5c804..b4feeed 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,13 @@ Options: ## Instaling -Download binaries from [here](https://github.com/gnojus/wedl/releases). +Download binaries from [releases](https://github.com/gnojus/wedl/releases). + +Or compile from source and install with the [Go toolchain](https://go.dev/dl/): + +```bash +go install github.com/gnojus/wedl@latest +``` ### Linux and MacOS @@ -38,13 +44,7 @@ Or compile from source: ```bash git clone https://github.com/gnojus/wedl.git cd wedl -make -``` - -Or just go get: - -```bash -go get github.com/gnojus/wedl +go build ``` ### Windows @@ -56,10 +56,14 @@ git clone https://github.com/gnojus/wedl.git cd wedl go mod download -# Build executable +# Build + +## Build executable go build -# Build with -output flag +--------- + +## Or Build with -output flag go build -o wedl.exe wedl.go ```