mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 19:56:21 +00:00
feat: clean
This commit is contained in:
parent
39b536dab7
commit
42c80f8749
2 changed files with 4 additions and 3 deletions
3
Makefile
3
Makefile
|
@ -86,9 +86,6 @@ brakeman: ## Busca posibles vulnerabilidades en Sutty
|
||||||
yarn: ## Tareas de yarn
|
yarn: ## Tareas de yarn
|
||||||
$(hain) 'yarn $(args)'
|
$(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
|
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) .
|
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
|
docker tag sutty/$(container):latest sutty:keep
|
||||||
|
|
|
@ -26,3 +26,7 @@ tasks:
|
||||||
- "Gemfile"
|
- "Gemfile"
|
||||||
generates:
|
generates:
|
||||||
- "Gemfile.lock"
|
- "Gemfile.lock"
|
||||||
|
clean:
|
||||||
|
desc: "Clean"
|
||||||
|
cmds:
|
||||||
|
- "rm -rf _sites/test-* _deploy/test-* log/*.log tmp/cache tmp/letter_opener tmp/miniprofiler tmp/storage"
|
||||||
|
|
Loading…
Reference in a new issue