-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
47 lines (35 loc) · 891 Bytes
/
Copy pathMakefile
File metadata and controls
47 lines (35 loc) · 891 Bytes
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
# Enlista phonies
.PHONY: \
check \
check_requirements \
clean \
init \
install \
setup \
tests
# Instala TestMake
check:
shellcheck --shell=bash src/*.sh
check_requirements:
@echo "Checking requirements for installation:"
pip --version
check_requirements_in_container:
@echo "Checking requirements for installation:"
pipx --version
clean:
init: setup tests
init_in_container: setup_in_container tests
install: check_requirements
chmod +x ./src/geci-*
mkdir --parents /usr/local/bin
cp --preserve ./src/geci-* /usr/local/bin
pip install container-runner==0.1.0
install_in_container: check_requirements_in_container
chmod +x ./src/geci-*
mkdir --parents /usr/local/bin
cp --preserve ./src/geci-* /usr/local/bin
pipx install container-runner==0.1.0
setup: clean install
setup_in_container: clean install_in_container
tests:
shellspec --shell bash tests