Chris Cummer
391ce432a7
go mod tidy
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-07-23 06:49:52 -07:00
Chris Cummer
ae097d2e5c
Add goversion to Makefile install output
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-07-16 21:14:25 -07:00
Chris Cummer
e9883ad60d
Add ascii text output to some Makefile commands
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-07-12 07:16:47 -07:00
Chris Cummer
0911402926
Update golangci action
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-05-23 11:12:11 -07:00
Sam Roberts
4bb725db9e
golangci-lint configuration file
...
golangci-lint can run all the currently enabled linters, and as far as I
can tell, does it in under 5 seconds as opposed to over 180 seconds
(compare `time make cilint` and `time make lint`).
Some of the linters that are listed in the "enabled" section but
commented out looked like a good idea to me, and fairly low hanging
fruit to fix, but they are not passing at the moment.
All the linters covered in the current Makefile are run.
TODO:
- replace lint target in Makefile with golangci-lint
- remove .github/workflow/errcheck.yml
2020-05-16 12:34:57 -07:00
Chris Cummer
0ae44a4d5c
Remove rest of vendor directory
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-02-22 02:04:13 -08:00
Chris Cummer
8dde85989d
Remove some unnecessary type conversions ( #841 )
...
* Remove some unnecessary type conversions
Signed-off-by: Chris Cummer <chriscummer@me.com>
* Tidy'd go.mod
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-02-15 13:02:10 -08:00
Scott Hansen
752cda88e3
Add docker-build and docker-install targets to Makefile
2020-01-12 17:03:23 -08:00
Bjoern Weidlich
6747784acd
Removing vendor directory
2020-01-08 22:46:04 -08:00
Chris Cummer
fa0d8761ae
A few minor changes made while updating documentation
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-30 17:26:50 -05:00
Chris Cummer
10f761dbcb
20191217 gosec ( #796 )
...
* Add gosec to the Makefile
Signed-off-by: Chris Cummer <chriscummer@me.com>
* Fix some issues found by gosec
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-17 14:59:16 -08:00
Chris Cummer
cde904ff08
Use errcheck to find unhandled errors ( #795 )
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-17 08:26:16 -08:00
Chris Cummer
3a388fba23
20191215 code improvements ( #790 )
...
* Upgrade godo to latest
* Fix a bunch of issues found by
* Running staticcheck on a codebase for the first time is a sobering experience
* go mod tidy
* More static improvements
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-16 20:25:29 -08:00
Chris Cummer
53e795384b
Additional improvements to the Makefile
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-14 08:58:31 -08:00
Chris Cummer
746ead5747
Improve the Makefile
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-13 16:23:41 -08:00
Chris Cummer
5a6424839d
Improve the Makefile
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-13 16:10:13 -08:00
Chris Cummer
3d513e9c00
Alias 'make isntall' to 'make install' because I have incompetent fingers
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-01 20:51:01 -08:00
Rui Chen
c97e4e1078
Update goproxy to default proxy.golang.org
2019-11-10 14:57:39 -05:00
Chris Cummer
1bfca29d17
WTF-657 Add spec coverage for cfg/common_settings.go ( #728 )
...
* WTF-657 Add spec coverage for cfg/common_settings.go
Signed-off-by: Chris Cummer <chriscummer@me.com>
* WTF-657 Add spec coverage for cfg/position_validation.go
Signed-off-by: Chris Cummer <chriscummer@me.com>
* WTF-657 Add spec coverage for cfg/validations.go
Signed-off-by: Chris Cummer <chriscummer@me.com>
* WTF-657 Add spec coverage for checklist/checklist.go
Signed-off-by: Chris Cummer <chriscummer@me.com>
* WTF-657 Add spec coverage for checklist/checklist_item.go
Signed-off-by: Chris Cummer <chriscummer@me.com>
* WTF-657 Add spec coverage for utils/conversions.go
Signed-off-by: Chris Cummer <chriscummer@me.com>
* WTF-657 Get rid of utils.Home() function
Signed-off-by: Chris Cummer <chriscummer@me.com>
* WTF-657 Add spec coverage for utils/homedir.go
Signed-off-by: Chris Cummer <chriscummer@me.com>
* WTF-657 Add spec coverage for utils/text.go
Signed-off-by: Chris Cummer <chriscummer@me.com>
* WTF-657 Clean up utils/utils.go
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-10-30 17:35:00 -07:00
Chris Cummer
3a5759e2b5
Remove the version warning from the build and install make commands
2019-08-19 14:00:29 -07:00
Chris Cummer
379d035b63
Update the README with the note about wtf -> wtfutil
2019-07-10 09:48:17 -07:00
Chris Cummer
f7fc82dca1
Add wtfutil binary comments to Makefile
2019-07-10 09:37:41 -07:00
Chris Cummer
b4e3b7e3a2
Changes the name of the installed binary from 'wtf' to 'wtfutil'
...
This is to avoid conflict with the venerable 'wtf' acronym utility found
here https://sourceforge.net/projects/bsdwtf/
2019-07-09 12:10:35 -07:00
Chris Cummer
7a14c39d81
Export Go module variables in Makefile
2019-04-27 14:51:33 -07:00
retgits
e03b65b442
feat: update to go modules
2019-04-26 16:39:44 -07:00
Chris Cummer
28ccc9797a
Display message if wtf cannot be found after installation
2019-02-17 12:32:42 -08:00
Chris Cummer
1d888118c5
Add 'make test' to the Makefile
2019-01-13 12:00:27 -08:00
Chris Cummer
0f86740a7f
Set the GOPATH if not set when using the Makefile
2019-01-13 11:56:54 -08:00
Chris Cummer
2af837d5cf
Make build now runs with -race enabled
2018-08-22 21:45:19 -07:00
Chris Cummer
e9758bde65
Unbreak the Makefile
2018-08-15 13:25:29 -07:00
Chris Cummer
d872a28cf7
First pass at new site template
2018-08-15 13:25:28 -07:00
Chris Cummer
cc7072e666
Revert the Makefile changes
2018-08-13 08:35:01 -07:00
Chris Cummer
d89b307854
Regenerate documentation for Gitter
2018-08-12 03:31:37 -07:00
Chris Cummer
b5bdaf3150
Replace Fprintf calls with SetText calls
2018-08-03 09:51:55 -07:00
Chris Cummer
4a1caf6e7c
Use -s -w to reduce the final binary size when running 'make install'
2018-07-17 11:55:40 -07:00
Chris Cummer
ba97ac7999
Add 'make size' to Makefile because vanity
2018-07-11 17:21:33 -07:00
Chris Cummer
ddf39c3f59
Update README to add list of all contributors
2018-06-17 14:53:36 -07:00
Chris Cummer
6dd7069b42
Close #194 . No branch name in build version anymore
2018-06-14 08:55:54 -07:00
Sergio Rubio
d2a3e504cf
Vendor dependencies using golang/dep
...
Output from 'dep status':
PROJECT CONSTRAINT VERSION REVISION LATEST PKGS USED
cloud.google.com/go v0.23.0 v0.23.0 0fd7230 v0.23.0 1
github.com/briandowns/openweathermap ^0.11.0 0.11 1b87579 0.11 1
github.com/gdamore/encoding branch master branch master b23993c b23993c 1
github.com/gdamore/tcell ^1.0.0 v1.0.0 061d51a v1.0.0 2
github.com/go-test/deep ^1.0.1 v1.0.1 6592d9c v1.0.1 1
github.com/golang/protobuf v1.1.0 v1.1.0 b4deda0 v1.1.0 1
github.com/google/go-github branch master branch master 2ae5df7 2ae5df7 1
github.com/google/go-querystring branch master branch master 53e6ce1 53e6ce1 1
github.com/jessevdk/go-flags ^1.4.0 v1.4.0 c6ca198 v1.4.0 1
github.com/lucasb-eyer/go-colorful v1.0 v1.0 345fbb3 v1.0 1
github.com/mattn/go-runewidth v0.0.2 v0.0.2 9e777a8 v0.0.2 1
github.com/olebedev/config branch master branch master 9a10d05 9a10d05 1
github.com/radovskyb/watcher ^1.0.2 v1.0.2 6145e14 v1.0.2 1
github.com/rivo/tview branch master branch master 71ecf1f 71ecf1f 1
github.com/yfronto/newrelic branch master branch master f7fa0c6 f7fa0c6 1
golang.org/x/net branch master branch master 1e49130 1e49130 2
golang.org/x/oauth2 branch master branch master 1e0a3fa 1e0a3fa 5
golang.org/x/text v0.3.0 v0.3.0 f21a4df v0.3.0 5
google.golang.org/api branch master branch master 00e3bb8 00e3bb8 4
google.golang.org/appengine v1.0.0 v1.0.0 150dc57 v1.0.0 10
gopkg.in/yaml.v2 ^2.2.1 v2.2.1 5420a8b v2.2.1 1
See https://golang.github.io/dep/docs/daily-dep.html
2018-06-06 18:29:46 +02:00
James Sapara
2109157edc
linux/ubuntu wraps for security
2018-05-31 12:29:32 -07:00
Chris Cummer
5d66b2acd5
Improve the state of the Makefile a bit
2018-05-18 16:37:03 -07:00
Chris Cummer
ca4d6f2fe8
Add 'make dependencies' to the Makefile
2018-05-18 16:10:59 -07:00
Chris Cummer
430ade3fe5
Conform ldflag names to those that goreleaser uses
2018-05-17 14:23:41 -07:00
Chris Cummer
c4cf871ccf
Display build branch in version
2018-04-29 12:26:49 -07:00
Chris Cummer
3c9b846bbc
Remove the old binary before installing the new to force it to get picked up
2018-04-24 09:58:24 -07:00
Chris Cummer
7500a4031d
Added the System widget with basic build info
2018-04-24 09:54:53 -07:00
Chris Cummer
1559b1ea87
Tweak to the makefile
2018-04-23 17:51:31 -07:00
Chris Cummer
5a31de74fe
Add Makefile support for 'make install' and version info
2018-04-23 17:35:14 -07:00
Chris Cummer
27a267b123
Cleaner config format and added simple_config.yml example
2018-04-10 11:28:48 -07:00