Explorar el Código

Have "make" create the executable in root dir (#247)

Same as "go build".
Makes it functional by default as it'd then find template/ and public/
by default w/out setting GITEA_WORK_DIR
tags/v1.0.0
Sandro Santilli hace 7 años
padre
commit
a3fb627350
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      Makefile

+ 2
- 2
Makefile Ver fichero

@@ -86,9 +86,9 @@ install: $(wildcard *.go)
go install -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)'

.PHONY: build
build: $(BIN)/$(EXECUTABLE)
build: $(EXECUTABLE)

$(BIN)/$(EXECUTABLE): $(wildcard *.go)
$(EXECUTABLE): $(wildcard *.go)
go build -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@

.PHONY: release

Cargando…
Cancelar
Guardar