File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -77,3 +77,10 @@ What we have done for now to improve performance:
77
77
78
78
Using go-git resulted in in-memory cloning (stream to memory and then to directory).
79
79
This caused too high peaks of memory unsuitable for small VMs.
80
+
81
+ ## Packaging
82
+
83
+ Packaging is done using [ GoReleaser] ( https://goreleaser.com/ ) and
84
+ [ nFPM] ( https://nfpm.goreleaser.com/ ) .
85
+
86
+ You can test packaging using ` make dist ` .
Original file line number Diff line number Diff line change 34
34
.PHONY: build
35
35
build: $( BIN)
36
36
37
+ # Use this target to test packaging
38
+ .PHONY: dist
39
+ dist:
40
+ goreleaser release --skip-publish --skip-validate --rm-dist
41
+
37
42
$( BIN) : $( SOURCES)
38
43
$( GO) build $( GOFLAGS) -ldflags ' -s -w $(LDFLAGS)' $( EXTRA_GOFLAGS) -o $@ ./cmd/$( BIN)
You can’t perform that action at this time.
0 commit comments