Compare commits
2 commits
c1399f5107
...
e6daab182c
Author | SHA1 | Date | |
---|---|---|---|
e6daab182c | |||
f42dce9147 |
2 changed files with 8 additions and 2 deletions
|
@ -11,7 +11,6 @@ linters:
|
||||||
- nakedret
|
- nakedret
|
||||||
- revive
|
- revive
|
||||||
- staticcheck # Now includes gosimple and stylecheck
|
- staticcheck # Now includes gosimple and stylecheck
|
||||||
- typecheck
|
|
||||||
- unconvert
|
- unconvert
|
||||||
- unused
|
- unused
|
||||||
- whitespace
|
- whitespace
|
||||||
|
@ -69,7 +68,7 @@ formatters:
|
||||||
|
|
||||||
goimports:
|
goimports:
|
||||||
local-prefixes:
|
local-prefixes:
|
||||||
- {{.GoModule.Name}}
|
- { { .GoModule.Name } }
|
||||||
|
|
||||||
output:
|
output:
|
||||||
formats:
|
formats:
|
||||||
|
|
|
@ -11,9 +11,16 @@ all: check-style test dist
|
||||||
manifest-check:
|
manifest-check:
|
||||||
pluginctl manifest check
|
pluginctl manifest check
|
||||||
|
|
||||||
|
## Cleans the server build artifacts.
|
||||||
|
.PHONY: clean-server
|
||||||
|
clean-server:
|
||||||
|
ifneq ($(HAS_SERVER),)
|
||||||
|
rm -rf server/dist
|
||||||
|
endif
|
||||||
|
|
||||||
## Builds the server, if it exists, for all supported architectures, unless MM_SERVICESETTINGS_ENABLEDEVELOPER is set.
|
## Builds the server, if it exists, for all supported architectures, unless MM_SERVICESETTINGS_ENABLEDEVELOPER is set.
|
||||||
.PHONY: server
|
.PHONY: server
|
||||||
|
server: clean-server
|
||||||
server:
|
server:
|
||||||
ifneq ($(HAS_SERVER),)
|
ifneq ($(HAS_SERVER),)
|
||||||
ifneq ($(MM_DEBUG),)
|
ifneq ($(MM_DEBUG),)
|
||||||
|
|
Reference in a new issue