From 99322cc7501012444597f223fa26a991cc661e03 Mon Sep 17 00:00:00 2001 From: Joshua Shreve Date: Sun, 1 Aug 2021 22:37:41 -0400 Subject: Update to add release builds. Should make a large number of prebuilts for people to look at. Also fixed minor issues. --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4419763..688ea35 100644 --- a/Makefile +++ b/Makefile @@ -39,12 +39,21 @@ config: check-requirements ## Generate configuration. .PHONY: config build-models: check-requirements ## Build models. - @echo "\nGenerate models..\n" && \ + @echo "\nGenerate configured model..\n" && \ cd ${current_dir} && \ ${DOCKER_CMD} run --rm --name DM-run -v ${source_dir}:/app/src -v ${artifact_dir}:/app/things dactyl-keyboard python3 -i dactyl_manuform.py && \ echo "Done" .PHONY: config +build-models: check-requirements ## Build models. + @echo "\nGenerate release models..\n" && \ + cd ${current_dir} && \ + ${DOCKER_CMD} run --rm --name DM-release-build -v ${source_dir}:/app/src -v ${artifact_dir}:/app/things dactyl-keyboard python3 -i model_builder.py && \ + echo "Done" +.PHONY: config +docker run --name DM-release-build -d -v "%cd%/src:/app/src" -v "%cd%/things:/app/things" dactyl-keyboard python3 -i model_builder.py + + shell: check-requirements ## Open an interactive shell inside a container. @${DOCKER_CMD} run --rm -it --name DM-shell -v "src:/app/src" -v "things:/app/things" dactyl-keyboard bash && \ echo "\nBye!" -- cgit v1.2.3