Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

Commit

Permalink
chore: add ldflags -s -w
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed May 2, 2022
1 parent b06bc41 commit db509b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 37 deletions.
21 changes: 1 addition & 20 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,29 +1,10 @@
# http://editorconfig.org

# https://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.go]
indent_style = tab
indent_size = 2

[Dockerfile]
indent_style = tab
indent_size = 4

[Makefile]
indent_style = tab
indent_size = 4

[.travis.yml]
indent_style = space
indent_size = 2

[*.json]
indent_style = space
indent_size = 2
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ builds:
- env: [CGO_ENABLED=0]
flags:
- -trimpath
ldflags:
- -s -w
goos:
- linux
- windows
Expand Down
17 changes: 0 additions & 17 deletions .vscode/launch.json

This file was deleted.

0 comments on commit db509b4

Please sign in to comment.