From 4eebe9790fc184ed6ae13b7b4f5fef77e75b9bb3 Mon Sep 17 00:00:00 2001 From: jorgnyg Date: Thu, 21 Apr 2022 14:43:13 +0200 Subject: [PATCH 1/3] Add manifest.json --- ui/public/index.html | 1 + ui/public/manifest.json | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 ui/public/manifest.json diff --git a/ui/public/index.html b/ui/public/index.html index aec6bc9..0432ead 100644 --- a/ui/public/index.html +++ b/ui/public/index.html @@ -8,6 +8,7 @@ + diff --git a/ui/public/manifest.json b/ui/public/manifest.json new file mode 100644 index 0000000..315727c --- /dev/null +++ b/ui/public/manifest.json @@ -0,0 +1,29 @@ +{ + "name": "Traggo", + "short_name": "Traggo", + "description": "Tag-based time tracking", + "theme_color": "#9bd7fe", + "background_color": "#3f51b5", + "display": "standalone", + "scope": "/", + "start_url": "/", + "icons": [ + { + "src": "/favicon-16x16.png", + "sizes": "16x16", + "type": "image/png" + }, { + "src": "/favicon-32x32.png", + "sizes": "32x32", + "type": "image/png" + }, { + "src": "/favicon-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, { + "src": "/favicon-256x256.png", + "sizes": "256x256", + "type": "image/png" + } + ] +} \ No newline at end of file From 9eaac6eab838eafc832213fbcdaa099b76f89df7 Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Fri, 22 Apr 2022 18:51:59 +0200 Subject: [PATCH 2/3] Use newer go version --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d0fffe5..02d7782 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ sudo: required language: go go: - - "1.13.1" + - "1.18.1" addons: apt: From 3b4294b806f68ddb0e2897df3b5b7ea41648c0f9 Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Fri, 22 Apr 2022 18:51:53 +0200 Subject: [PATCH 3/3] Fix packr build --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 1e8c276..c512ce9 100644 --- a/Makefile +++ b/Makefile @@ -22,9 +22,9 @@ license-dir: mkdir -p build/license || true download-tools: - GO111MODULE=off go get -u golang.org/x/lint/golint - GO111MODULE=off go get -u golang.org/x/tools/cmd/goimports - GO111MODULE=off go get -u github.com/gobuffalo/packr/v2/packr2 + go install golang.org/x/tools/cmd/goimports@v0.1.10 + go install github.com/gobuffalo/packr/v2/packr2@v2.7.1 + generate-go: go run hack/gqlgen/gqlgen.go @@ -36,7 +36,6 @@ generate: generate-go generate-js lint-go: go vet ./... - golint -set_exit_status $(shell go list ./...) goimports -l $(shell find . -type f -name '*.go' -not -path "./vendor/*") lint-js: