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
|
.PHONY: default
|
||||||
default:
|
default:
|
||||||
$(info use other targets: image build watch clean)
|
$(info use other targets: image build watch shell clean)
|
||||||
|
|
||||||
.PHONY: image
|
.PHONY: image
|
||||||
image:
|
image:
|
||||||
|
|
@ -19,6 +19,10 @@ build: image
|
||||||
watch: image
|
watch: image
|
||||||
$(docker_run) $(examples_flags) $(image_tag)
|
$(docker_run) $(examples_flags) $(image_tag)
|
||||||
|
|
||||||
|
.PHONY: shell
|
||||||
|
shell: image
|
||||||
|
$(docker_run) $(examples_flags) --entrypoint ash $(image_tag)
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
git clean -xdf ./examples
|
git clean -xdf ./examples
|
||||||
Loading…
Reference in a new issue