-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
62 lines (46 loc) · 1.37 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
help:
@echo "The following make targets are available:"
@echo "build build the docker image"
@echo "local-build build a local docker image that can run on the current machine"
@echo "publish deploys the next version with the current commit"
@echo "azlogin log in to azure container storage"
@echo "dockerpush push the current docker image to azure"
@echo "name generate a unique permanent name for the current commit"
@echo "commit print precise commit hash (with a * if the working copy is dirty)"
@echo "branch print current branch and exit"
@echo "version-file create the version file"
@echo "current-version computes the current version"
@echo "next-version computes the next version"
@echo "git-check ensures no git visible files have been altered"
@echo "run-web runs the webserver"
@echo "run-sass runs the sass compiler"
export LC_ALL=C
export LANG=C
name:
git describe --abbrev=10 --tags HEAD
commit:
git describe --match NOTATAG --always --abbrev=40 --dirty='*'
branch:
git rev-parse --abbrev-ref HEAD
version-file:
./sh/versionfile.sh
current-version:
./sh/version.sh --current
next-version:
./sh/version.sh
git-check:
./sh/git_check.sh
run-web:
CMD=start ./sh/run.sh
run-sass:
CMD=sass ./sh/run.sh
build:
./sh/build.sh
local-build:
IMAGE_LOCAL=local ./sh/build.sh
publish:
./sh/deploy.sh
azlogin:
./sh/azlogin.sh
dockerpush:
./sh/dockerpush.sh