From da9a5d4de809e4f7fb4fdde2e51f11849dc0e5f3 Mon Sep 17 00:00:00 2001 From: Alessio Date: Tue, 22 Mar 2022 13:12:21 -0700 Subject: [PATCH] Modify some comments, use 'complete-build' command in sourcehut build where appropriate --- .build.yml | 2 +- .golangci.yaml | 6 +----- build/build_dpkg.sh | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.build.yml b/.build.yml index 7f1ce63..352d519 100644 --- a/.build.yml +++ b/.build.yml @@ -104,7 +104,7 @@ tasks: if [[ -z "$version" ]] then # Not on a release branch; just exit this task - exit + complete-build fi sudo apt install -y curl gnupg diff --git a/.golangci.yaml b/.golangci.yaml index 0c541e6..6010572 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -35,6 +35,7 @@ linters: # Useless linters: # - dogsled # - wsl (don't like it for now) + # - golint (deprecated, replaced by 'revive') # TODO: "go fix" -- what is it? What does it do? @@ -248,11 +249,6 @@ linters-settings: # goimports: # # put imports beginning with prefix after 3rd-party packages; # # it's a comma-separated list of prefixes -# local-prefixes: github.com/org/project - -# golint: -# # minimal confidence for issues, default is 0.8 -# min-confidence: 0.8 # gomnd: # settings: diff --git a/build/build_dpkg.sh b/build/build_dpkg.sh index f73ad03..0784f9d 100755 --- a/build/build_dpkg.sh +++ b/build/build_dpkg.sh @@ -29,7 +29,7 @@ echo "Package: offline-twitter-engine Version: $1 Architecture: all Maintainer: me@playfulpachyderm.com -Installed-Size: 7200 +Installed-Size: 7700 Depends: Section: web Priority: optional