mirror of
https://github.com/Luzifer/espsms.git
synced 2024-12-20 18:01:22 +00:00
Document usage in Makefile
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
68b9ef0a6c
commit
442fb5d5e6
1 changed files with 15 additions and 0 deletions
15
Makefile
Normal file
15
Makefile
Normal file
|
@ -0,0 +1,15 @@
|
|||
default: format
|
||||
|
||||
.env:
|
||||
grep -Eo 'sysenv.[A-Z_]*' platformio.ini | sed -E 's/sysenv.(.*)/\1=/' >.env
|
||||
@echo "/!\ Sample environment created, please adjust!"
|
||||
false
|
||||
|
||||
format:
|
||||
clang-format -i --style Google -Werror src/*
|
||||
|
||||
deploy: .env
|
||||
envrun -- platformio run -t upload
|
||||
|
||||
monitor:
|
||||
platformio device monitor
|
Loading…
Reference in a new issue