mirror of
https://github.com/ldericher/autodoc.git
synced 2025-12-06 15:43:01 +00:00
"make shell"
This commit is contained in:
parent
7cc5d4a2c4
commit
da0c61dd92
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -5,7 +5,7 @@ examples_flags = -v "$(shell pwd)/examples:/data" -u "$(shell id -u):$(shell id
|
|||
|
||||
.PHONY: default
|
||||
default:
|
||||
$(info use other targets: image build watch clean)
|
||||
$(info use other targets: image build watch shell clean)
|
||||
|
||||
.PHONY: image
|
||||
image:
|
||||
|
|
@ -19,6 +19,10 @@ build: image
|
|||
watch: image
|
||||
$(docker_run) $(examples_flags) $(image_tag)
|
||||
|
||||
.PHONY: shell
|
||||
shell: image
|
||||
$(docker_run) $(examples_flags) --entrypoint ash $(image_tag)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
git clean -xdf ./examples
|
||||
Loading…
Reference in a new issue