forked from grafana/grafonnet-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
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
f1ceb29
commit b34b896
Showing
4 changed files
with
19 additions
and
5 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
site | ||
docs/api-docs.md | ||
*_test_output.json | ||
e2e/node_modules | ||
.DS_Store |
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 |
---|---|---|
@@ -1,19 +1,28 @@ | ||
help: # Show this message. | ||
help: # Show this message. | ||
@echo "\nAvailable Targets:\n" | ||
@sed -ne '/@sed/!s/# //p' $(MAKEFILE_LIST) | ||
|
||
test: # Run all unit tests. | ||
@docker run \ | ||
test: # Run all unit tests. | ||
@docker run --rm \ | ||
-w $$PWD \ | ||
-v $$PWD:$$PWD \ | ||
--entrypoint sh \ | ||
sparkprime/jsonnet \ | ||
tests.sh | ||
|
||
test-update: # Run all unit tests while copying test_output.json to compiled.json file. | ||
@docker run \ | ||
test-update: # Run all unit tests while copying test_output.json to compiled.json file. | ||
@docker run --rm \ | ||
-w $$PWD \ | ||
-v $$PWD:$$PWD \ | ||
--entrypoint sh \ | ||
sparkprime/jsonnet \ | ||
tests.sh update | ||
|
||
gen-api-docs: # Generate api-docs.md from source code comments. | ||
@docker run --rm \ | ||
-u $$UID \ | ||
-v $$PWD:$$PWD \ | ||
-w $$PWD \ | ||
trotttrotttrott/jsonnetdoc:4f806c6 \ | ||
grafonnet --markdown \ | ||
> docs/api-docs.md |
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