diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-02-21 09:51:50 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2019-02-21 09:16:35 +0000 |
commit | 5ffb1c105d1eec3c3f9eaba122fb040001afbe69 (patch) | |
tree | 2913594791103be725b0fa9036a9defcc8798491 /src | |
parent | 9dacd4d5472e6f600f2f99e77e91222408ec49a2 (diff) | |
download | qtqa-5ffb1c105d1eec3c3f9eaba122fb040001afbe69.tar.gz |
Add missing go module file so that this is easier to build
Change-Id: Ib8c231adaf560352d49b4f0f248c3a8918f24754
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/createchangelog/README | 12 | ||||
-rw-r--r-- | src/createchangelog/go.mod | 6 | ||||
-rw-r--r-- | src/createchangelog/go.sum | 4 |
3 files changed, 12 insertions, 10 deletions
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= |