-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
executable file
·61 lines (44 loc) · 1.08 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
#!make
.PHONY: test
init: editorconfig
fork:
@curl -sL git.io/fork.sh | bash -s -- --from https://github.com/javanile/bash-package
editorconfig:
@curl -so .editorconfig https://editorconfig.javanile.org/lib/bash
release:
push:
git config credential.helper 'cache --timeout=3600'
git pull
git add .
git commit -am "Prepare Release 0.$$(date +%y.%U)"
git commit -am "push"
git push
## -------
## Testing
## -------
test: push
bash test/release-test.sh
test-release: push
bash test/release-test.sh
test-accept-merge-request:
bash test/accept-merge-request-test.sh
test-create-merge-request:
bash test/create-merge-request-test.sh
test-check-branch:
@bash test/check-branch-test.sh
test-create-file:
@bash test/create-file-test.sh
test-update-file:
@bash test/update-file-test.sh
test-list-pipelines:
@bash test/list-pipelines-test.sh
test-wait-pipelines:
@bash test/wait-pipelines-test.sh
test-git-clone:
@bash test/git-clone-test.sh
test-git-snapshot:
@bash test/git-snapshot-test.sh
test-help:
@bash gitlab-ci-helper.sh --help
fork:
curl -sL git.io/fork.sh | bash -