make go build work
This commit is contained in:
parent
a421627ced
commit
90b3ef2604
|
@ -1 +1 @@
|
|||
resourcepack-ace.go filter=git-crypt diff=git-crypt
|
||||
resourcepack-ace.go.ignore filter=git-crypt diff=git-crypt
|
5
Makefile
5
Makefile
|
@ -6,11 +6,12 @@ GC = go build -ldflags "-s -w -X main.version=${TAG}"
|
|||
|
||||
# check if packs are supported
|
||||
HAVE_PACKS = false
|
||||
ifeq ($(shell head -c 7 resourcepack-ace.go),package)
|
||||
ifeq ($(shell head -c 7 resourcepack-ace.go.ignore),package)
|
||||
HAVE_PACKS = true
|
||||
endif
|
||||
|
||||
$(info pack support: ${HAVE_PACKS})
|
||||
ifneq ($(HAVE_PACKS),true)
|
||||
ifeq ($(HAVE_PACKS),true)
|
||||
GC += -overlay overlay.json
|
||||
endif
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"Replace": {
|
||||
"resourcepack-ace.go": "nop.notgo"
|
||||
"rp.go": "resourcepack-ace.go.ignore"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue