5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 14:26:22 +00:00

feat: clean

This commit is contained in:
f 2024-01-08 14:40:05 -03:00
parent 39b536dab7
commit 42c80f8749
No known key found for this signature in database
2 changed files with 4 additions and 3 deletions

View file

@ -86,9 +86,6 @@ brakeman: ## Busca posibles vulnerabilidades en Sutty
yarn: ## Tareas de yarn
$(hain) 'yarn $(args)'
clean: ## Limpieza
rm -rf _sites/test-* _deploy/test-* log/*.log tmp/cache tmp/letter_opener tmp/miniprofiler tmp/storage
build: Gemfile.lock ## Generar la imagen Docker
time docker build --build-arg="BRANCH=$(branch)" --build-arg="RAILS_MASTER_KEY=`cat config/master.key`" -t sutty/$(container) .
docker tag sutty/$(container):latest sutty:keep

View file

@ -26,3 +26,7 @@ tasks:
- "Gemfile"
generates:
- "Gemfile.lock"
clean:
desc: "Clean"
cmds:
- "rm -rf _sites/test-* _deploy/test-* log/*.log tmp/cache tmp/letter_opener tmp/miniprofiler tmp/storage"