Makefile 283 B

12345678910111213141516171819
  1. default: config.mk migrate
  2. config.mk:
  3. cp config.def.mk $@
  4. include config.mk
  5. migrate:
  6. migrate -source file://migrations -database ${DSN} up
  7. drop-db:
  8. migrate -source file://migrations -database ${DSN} drop
  9. clean:
  10. rm -f ./uploads/*.xlsx
  11. .PHONY: migrate drop-db default clean