Skip to content

Commit

Permalink
Update Makefile to accept VERSION input
Browse files Browse the repository at this point in the history
  • Loading branch information
finestructure committed Feb 28, 2020
1 parent 3888db5 commit d23c386
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.DEFAULT_GOAL := build

export VERSION=$(shell git describe --always --tags --dirty)
VERSION := $(shell git describe --always --tags --dirty)
VERSION_FILE := Sources/ArenaCore/Version.swift

clean:
Expand All @@ -16,7 +16,7 @@ test:
swift test

release: version
swift build -c release
swift build -c release --disable-sandbox

install: release
install .build/release/arena /usr/local/bin/
Expand Down

0 comments on commit d23c386

Please sign in to comment.