-
-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathJustfile
More file actions
34 lines (28 loc) · 834 Bytes
/
Justfile
File metadata and controls
34 lines (28 loc) · 834 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
set dotenv-load
# List available commands
[private]
default:
just help
# List available commands
help:
just --justfile {{justfile()}} --list
# Chart module from https://github.com/hotosm/justfiles
chart *args:
@curl -sS https://raw.githubusercontent.com/hotosm/justfiles/main/chart.just \
-o {{justfile_directory()}}/tasks/chart.just;
@just --justfile {{justfile_directory()}}/tasks/chart.just --set chart_name "fair" {{args}}
# Echo to terminal with blue colour
[no-cd]
_echo-blue text:
#!/usr/bin/env sh
printf "\033[0;34m%s\033[0m\n" "{{ text }}"
# Echo to terminal with yellow colour
[no-cd]
_echo-yellow text:
#!/usr/bin/env sh
printf "\033[0;33m%s\033[0m\n" "{{ text }}"
# Echo to terminal with red colour
[no-cd]
_echo-red text:
#!/usr/bin/env sh
printf "\033[0;41m%s\033[0m\n" "{{ text }}"