]> git.r.bdr.sh - rbdr/r.bdr.sh/blame - Makefile
Update img
[rbdr/r.bdr.sh] / Makefile
CommitLineData
300639b4
RBR
1repo_full_name = $(shell git remote -v | grep origin | grep push | grep -o '[^:/]\+\/[^/]\+\s\+' | grep -o '[^:]\+\/[^. ]\+'| tr '[:upper:]' '[:lower:]')
2git_sha = $(shell git rev-parse --short HEAD)
3
4environment = development
5
6default: preview
7
8serve: docker-build
9 docker-compose run unlimited.pizza serve --host 0.0.0.0 --config _config.yml,_config.$(environment).yml
10
11build: docker-build
12 docker-compose run unlimited.pizza build --config _config.yml,_config.$(environment).yml
13
14update-dependencies:
15 docker-compose run --entrypoint=bundle unlimited.pizza config --global frozen 0; bundle update
16
17docker-build:
18 docker-compose build
19
20upload: build
21 docker-compose run --entrypoint=/bin/sh unlimited.pizza ./scripts/upload.sh
29e93a81
RBR
22
23ci:
24 ./scripts/ci.sh