Use makefile for a reusable docker image

This commit is contained in:
Josh French
2022-10-11 11:13:38 -04:00
parent 2f0f47dc43
commit 1d14ffdb30
3 changed files with 24 additions and 5 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
set -e
set -eu
PWD=$(pwd)
TIMESTAMP=$(date -u +"%Y%m%d%H%M%S")
TIMESTAMP="${TIMESTAMP:-$(date -u +"%Y%m%d%H%M%S")}"
# West Build (left)
west build -s zmk/app -d build/left -b adv360_left -- -DZMK_CONFIG="${PWD}/config"