From 5ffb1c105d1eec3c3f9eaba122fb040001afbe69 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 21 Feb 2019 09:51:50 +0100 Subject: Add missing go module file so that this is easier to build Change-Id: Ib8c231adaf560352d49b4f0f248c3a8918f24754 Reviewed-by: Mitch Curtis --- src/createchangelog/README | 12 ++---------- src/createchangelog/go.mod | 6 ++++++ src/createchangelog/go.sum | 4 ++++ 3 files changed, 12 insertions(+), 10 deletions(-) create mode 100644 src/createchangelog/go.mod create mode 100644 src/createchangelog/go.sum (limited to 'src') diff --git a/src/createchangelog/README b/src/createchangelog/README index 13be2b6..718f18b 100644 --- a/src/createchangelog/README +++ b/src/createchangelog/README @@ -1,16 +1,8 @@ This little tool faciliates the creation of change log files for Qt modules. It is written in golang and -can be downloaded and installed using +can be built by running - go get code.qt.io/qt/qtqa.git/src/createchangelog - - -If you are not familiar with go and GOPATH and would just like to "use the damn thing", then you can cheat -and run - - GOPATH=$PWD go get code.qt.io/qt/qtqa.git/src/createchangelog - -in a directory of your choice, which will place the binary into $PWD/bin. + go build With the binary in place, you can use it like this: diff --git a/src/createchangelog/go.mod b/src/createchangelog/go.mod new file mode 100644 index 0000000..9b34f00 --- /dev/null +++ b/src/createchangelog/go.mod @@ -0,0 +1,6 @@ +module code.qt.io/qt/qtqa.git/src/createchangelog + +require ( + github.com/eidolon/wordwrap v0.0.0-20161011182207-e0f54129b8bb + github.com/hashicorp/go-version v1.1.0 +) diff --git a/src/createchangelog/go.sum b/src/createchangelog/go.sum new file mode 100644 index 0000000..b72f1dc --- /dev/null +++ b/src/createchangelog/go.sum @@ -0,0 +1,4 @@ +github.com/eidolon/wordwrap v0.0.0-20161011182207-e0f54129b8bb h1:ioQwBmKdOCpMVS/bDaESqNWXIE/aw4+gsVtysCGMWZ4= +github.com/eidolon/wordwrap v0.0.0-20161011182207-e0f54129b8bb/go.mod h1:ZAPs+OyRzeVJFGvXVDVffgCzQfjg3qU9Ig8G/MU3zZ4= +github.com/hashicorp/go-version v1.1.0 h1:bPIoEKD27tNdebFGGxxYwcL4nepeY4j1QP23PFRGzg0= +github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -- cgit v1.2.1