Skip to content

Commit

Permalink
Add "build" task to the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickpeterse committed Jun 24, 2024
1 parent 6afc97c commit 19578e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
.check-version:
@test $${VERSION?The VERSION variable must be set}

build:
inko pkg sync
inko build -o ./build/idoc

release/version: .check-version
sed -E -i -e "s/^let VERSION = '([^']+)'$$/let VERSION = '${VERSION}'/" \
src/idoc/cmd.inko
Expand All @@ -19,4 +23,5 @@ release/tag: .check-version

release: release/version release/changelog release/commit release/tag

.PHONY: build
.PHONY: release/version release/changelog release/commit release/tag release

0 comments on commit 19578e4

Please sign in to comment.