Skip to content

Commit

Permalink
Update version unconditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
rtfb committed Nov 20, 2023
1 parent 41e63c8 commit 252271a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ GOPATH_HEAD = $(firstword $(subst :, ,$(GOPATH)))

all: ${BUILDDIR}/rtfblog

${BUILDDIR}/rtfblog: $(TARGETS) ${BUILDDIR}/version $(GOFILES)
${BUILDDIR}/rtfblog: $(TARGETS) $(GOFILES)
./scripts/version.sh > ${BUILDDIR}/version
${GOFMT} ${GOFILES}
go build -o ${BUILDDIR} ./cmd/rtfblog/...
go test -v ./src/... -covermode=count -coverprofile=coverage.out
Expand All @@ -63,9 +64,6 @@ vet:
fmt:
${GOFMT} ${GOFILES}

${BUILDDIR}/version:
./scripts/version.sh > $@

${CSSDIR}/%.css: static/css/%.css
@mkdir -p ${CSSDIR}
cp $< $@
Expand Down

0 comments on commit 252271a

Please sign in to comment.