Skip to content

Commit

Permalink
doc/comments
Browse files Browse the repository at this point in the history
  • Loading branch information
billhails committed Sep 12, 2021
1 parent d8bd93a commit 59064b2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile.common
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
SHELL=/bin/bash
# common makefile fragment included by all of the individual theme Makefiles
# operates in the context of those theme directories

all: ${NAME}.sabakitheme.asar

${NAME}.sabakitheme.asar: theme/package.json
asar pack ./theme $@

# use jq to automatically increment the patchlevel in version.js
# then combine the fields of theme.package.json and ../common.package.json
# along with a constructed semantic version string from version.json
# into the single theme/package.json
#
# https://stedolan.github.io/jq/
theme/package.json: theme.package.json version.json ../common.package.json theme/styles.css theme/images/*.png
jq '{major, minor, patch: (.patch + 1)}' version.json > version.json.tmp
Expand Down

0 comments on commit 59064b2

Please sign in to comment.