From ba0914890c6dd8defffc15207cb96e342d44a88b Mon Sep 17 00:00:00 2001 From: Nathan Youngman <4566+nathany@users.noreply.github.com> Date: Sat, 5 Oct 2019 17:12:12 -0600 Subject: [PATCH 1/4] Add Go modules --- .gitattributes | 1 + go.mod | 5 +++++ go.sum | 2 ++ 3 files changed, 8 insertions(+) create mode 100644 .gitattributes create mode 100644 go.mod create mode 100644 go.sum diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..32f1001b --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +go.sum linguist-generated diff --git a/go.mod b/go.mod new file mode 100644 index 00000000..ff11e13f --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/fsnotify/fsnotify + +go 1.13 + +require golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 diff --git a/go.sum b/go.sum new file mode 100644 index 00000000..f60af985 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 h1:L2auWcuQIvxz9xSEqzESnV/QN/gNRXNApHi3fYwl2w0= +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= From 1c6c7a397ac987295e0b16b5ccc297a0436f3b37 Mon Sep 17 00:00:00 2001 From: Nathan Youngman <4566+nathany@users.noreply.github.com> Date: Sat, 5 Oct 2019 17:12:25 -0600 Subject: [PATCH 2/4] revise editor config tabs only for Go --- .editorconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index ba49e3c2..fad89585 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,12 @@ root = true -[*] +[*.go] indent_style = tab indent_size = 4 +insert_final_newline = true + +[*.{yml,yaml}] +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true From 06cb745b9d02783b7bd1ace3a4386a5faa95405f Mon Sep 17 00:00:00 2001 From: Nathan Youngman <4566+nathany@users.noreply.github.com> Date: Sat, 5 Oct 2019 17:12:31 -0600 Subject: [PATCH 3/4] 2019 --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index f21e5408..e180c8fb 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ Copyright (c) 2012 The Go Authors. All rights reserved. -Copyright (c) 2012 fsnotify Authors. All rights reserved. +Copyright (c) 2012-2019 fsnotify Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are From e10253ebe3a8ba5b9f83a597cc2d897eae7fe445 Mon Sep 17 00:00:00 2001 From: Nathan Youngman <4566+nathany@users.noreply.github.com> Date: Sat, 5 Oct 2019 17:39:47 -0600 Subject: [PATCH 4/4] drop 1.8.x from Travis CI see #310 --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9071560b..a9c30165 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ go: - "1.11.x" - "1.10.x" - "1.9.x" - - "1.8.x" matrix: include: