-
Notifications
You must be signed in to change notification settings - Fork 2
/
Tiltfile
22 lines (19 loc) · 902 Bytes
/
Tiltfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
local_resource('install vale',
cmd='which vale > /dev/null || brew install vale')
local_resource('spell check with vale',
cmd='vale content',
deps='./content/',
resource_deps=['install vale'])
local_resource('install markdownlint',
cmd='which markdownlint > /dev/null || brew install markdownlint-cli')
local_resource('markdownlint',
cmd='markdownlint -c .markdownlint.yaml content',
deps='./content/',
resource_deps=['install markdownlint'])
local_resource('build test image',
cmd='docker build -t test .',
deps='./content/',
resource_deps=['spell check with vale', 'markdownlint'])
local_resource('run test container',
cmd='docker run -d -p 8080:8080 test',
resource_deps=['build test image'])