update image and makefile
This commit is contained in:
parent
77b000f9a3
commit
aee35ac9d4
9
Makefile
9
Makefile
|
@ -3,5 +3,12 @@ deploy:
|
|||
cd ui; make deploy
|
||||
cd infra; make deploy
|
||||
|
||||
image: SHELL := /bin/bash
|
||||
image:
|
||||
codevis -i ./ --whitelist-extension go,hcl,tf,css,js,templ,
|
||||
[[ -d "/tmp/capstone" ]] || mkdir /tmp/capstone
|
||||
cp -R infra/ /tmp/capstone/
|
||||
cp -R service/ /tmp/capstone/
|
||||
cp -R ui/ /tmp/capstone/
|
||||
rm -rf /tmp/capstone/ui/templates/*_templ.go
|
||||
codevis -i /tmp/capstone --whitelist-extension go,hcl,tf,templ -o ./out.png
|
||||
rm -rf /tmp/capstone/*
|
||||
|
|
Loading…
Reference in New Issue