update image and makefile

This commit is contained in:
Preston Baxter 2023-11-12 21:24:21 -06:00
parent 77b000f9a3
commit aee35ac9d4
2 changed files with 8 additions and 1 deletions

View File

@ -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/*

BIN
code.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 KiB

After

Width:  |  Height:  |  Size: 302 KiB