chore: unify building system with Makefile (#398)
* reorder and extend platformio config * update gitignore * add processing extra_script * add makefile * update github workflow * update docker build * add release and debug targets * define custom_build debug * fix custom_build target * update README
This commit is contained in:
8
Docker/build_with_docker_pio_debug.sh
Normal file → Executable file
8
Docker/build_with_docker_pio_debug.sh
Normal file → Executable file
@@ -1,6 +1,4 @@
|
||||
set -ex
|
||||
docker build -f ./Dockerfile_pio_debug -t nuki_hub_pio_dbg ..
|
||||
docker create --name nuki_hub_pio_dbg nuki_hub_pio_dbg
|
||||
rm -rf ../build_pio_dbg
|
||||
docker cp nuki_hub_pio_dbg:/usr/src/nuki_hub/debug/ ../build_pio_dbg
|
||||
docker rm -f nuki_hub_pio_dbg
|
||||
IMAGE_NAME=nuki_hub_build
|
||||
docker build -f ./Dockerfile -t ${IMAGE_NAME} ..
|
||||
docker run --rm -it -v $PWD/..:/src -w /src ${IMAGE_NAME} make debug
|
||||
|
||||
Reference in New Issue
Block a user