-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec0e46c
commit 356cf0d
Showing
3 changed files
with
59 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters