This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/Makefile

29 lines
629 B
Makefile
Raw Permalink Normal View History

2017-12-05 18:42:52 +00:00
up:
docker-compose up -d redis postgres s3
yarn install --pure-lockfile
yarn sequelize db:migrate
2021-09-11 05:46:57 +00:00
yarn dev:watch
2017-12-05 18:42:52 +00:00
build:
docker-compose build --pull outline
test:
2020-07-11 19:41:48 +00:00
docker-compose up -d redis postgres s3
yarn sequelize db:drop --env=test
yarn sequelize db:create --env=test
yarn sequelize db:migrate --env=test
2020-07-11 19:41:48 +00:00
yarn test
2018-05-13 07:28:31 +00:00
watch:
2020-07-11 19:41:48 +00:00
docker-compose up -d redis postgres s3
yarn sequelize db:drop --env=test
yarn sequelize db:create --env=test
yarn sequelize db:migrate --env=test
2020-07-11 19:41:48 +00:00
yarn test:watch
2018-05-13 07:28:31 +00:00
2017-12-05 18:42:52 +00:00
destroy:
docker-compose stop
docker-compose rm -f
2018-05-13 07:28:31 +00:00
.PHONY: up build destroy test watch # let's go to reserve rules names