forked from justgook/qmk-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (22 loc) · 560 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SHELL := bash
.ONESHELL:
.SHELLFLAGS := -eu -o pipefail -c
.DELETE_ON_ERROR:
MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules
DOCKER_VERSION:=1.0.1
# Run with "make V=1" to see the actual compile commands
ifdef V
Q=
else
Q=@
MAKEFLAGS += --no-print-directory
endif
docker:
$(Q)docker build -t qmk-action:$(DOCKER_VERSION) .
build:
$(Q)docker run \
-v .:/github/workspace \
-w /github/workspace \
docker.io/library/qmk-action:$(DOCKER_VERSION) keyboards/idobao/id75/keymaps/justgook idobao/id75/v1 justgook
.PHONY: build docker