diff options
author | Joshua Shreve <j.a.shreve@gmail.com> | 2021-08-01 22:37:41 -0400 |
---|---|---|
committer | Joshua Shreve <j.a.shreve@gmail.com> | 2021-08-01 22:37:41 -0400 |
commit | 99322cc7501012444597f223fa26a991cc661e03 (patch) | |
tree | 200f8a3cdb72507c529f8e734141ab8807a36e8d /Makefile | |
parent | 8409bdb6187a6d6e7def10b7fe7bded18e546e43 (diff) |
Update to add release builds. Should make a large number of prebuilts for people to look at. Also fixed minor issues.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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!" |