-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.makim-hooks.yaml
38 lines (33 loc) · 937 Bytes
/
.makim-hooks.yaml
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
groups:
setup:
tasks:
check_dependencies:
help: Check if all required dependencies are installed
run: |
echo "Checking dependencies..."
echo "All dependencies are installed."
prepare_workspace:
help: Prepare the workspace for build
run: |
echo "Preparing workspace..."
echo "Workspace is ready."
deploy:
help: Deploy the project
run: |
echo "Project is deployed."
build:
tasks:
compile:
help: Compile the project
hooks:
pre-run:
- task: setup.check_dependencies
if: ${{ 1 == 1 }}
- task: setup.prepare_workspace
if: ${{ 1 == 2 }}
post-run:
- task: setup.deploy
if: ${{ 1 == 1 }}
run: |
echo "Compiling the project..."
echo "Project compiled successfully."