mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 21:16:22 +00:00
make comfortable
This commit is contained in:
parent
cf62b75cef
commit
f0d4cc81f6
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -49,7 +49,7 @@ help: always ## Ayuda
|
||||||
@grep -E "^[a-z\-]+ \?=.*##" Makefile | sed -re "s/(.*) \?=.*##(.*)/\1;\2/" | column -s ";" -t | sed -re "s/^([^ ]+) /\x1B[38;5;197m\1\x1B[0m/"
|
@grep -E "^[a-z\-]+ \?=.*##" Makefile | sed -re "s/(.*) \?=.*##(.*)/\1;\2/" | column -s ";" -t | sed -re "s/^([^ ]+) /\x1B[38;5;197m\1\x1B[0m/"
|
||||||
|
|
||||||
assets: public/packs/manifest.json.br ## Compilar los assets
|
assets: public/packs/manifest.json.br ## Compilar los assets
|
||||||
git add public/assets/ public/packs/ && git commit -m "assets [skip ci]"
|
git add public/assets/ public/packs/ && NADA=true git commit -m "assets [skip ci]"
|
||||||
|
|
||||||
test: always ## Ejecutar los tests
|
test: always ## Ejecutar los tests
|
||||||
$(MAKE) rake args="test RAILS_ENV=test $(args)"
|
$(MAKE) rake args="test RAILS_ENV=test $(args)"
|
||||||
|
@ -72,7 +72,7 @@ rake: ## Corre rake dentro del entorno de desarrollo (pasar argumentos con args=
|
||||||
bundle: ## Corre bundle dentro del entorno de desarrollo (pasar argumentos con args=).
|
bundle: ## Corre bundle dentro del entorno de desarrollo (pasar argumentos con args=).
|
||||||
$(hain) 'bundle $(args)'
|
$(hain) 'bundle $(args)'
|
||||||
|
|
||||||
psql := psql -h $(PG_HOST) -U $(PG_USER) -p $(PG_PORT) -d sutty
|
psql := haini.sh psql -h $(PG_HOST) -U $(PG_USER) -p $(PG_PORT) -d sutty
|
||||||
copy-table:
|
copy-table:
|
||||||
test -n "$(table)"
|
test -n "$(table)"
|
||||||
echo "truncate $(table) $(cascade);" | $(psql)
|
echo "truncate $(table) $(cascade);" | $(psql)
|
||||||
|
|
Loading…
Reference in a new issue