Capstone/Makefile

15 lines
392 B
Makefile
Raw Normal View History

2023-10-23 22:01:09 -04:00
deploy:
cd service; make deploy
cd ui; make deploy
cd infra; make deploy
2023-11-05 12:02:39 -05:00
2023-11-12 22:24:21 -05:00
image: SHELL := /bin/bash
2023-11-05 12:02:39 -05:00
image:
2023-11-12 22:24:21 -05:00
[[ -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/*