Merge pull request #1837 from marcosnils/feat/docs_os_select
Attempt to automatically select OS tab based on user user-agent
This commit is contained in:
8
Makefile
8
Makefile
@@ -42,14 +42,14 @@ cuefmt: # Format all cue files
|
||||
|
||||
.PHONY: cuelint
|
||||
cuelint: cuefmt # Lint and format all cue files
|
||||
@test -z "$$(git status -s . | grep -e "^ M" | grep .cue | cut -d ' ' -f3 | tee /dev/stderr)"
|
||||
@test -z "$$(git status -s . | grep -e "^ M" | grep "\.cue" | cut -d ' ' -f3 | tee /dev/stderr)"
|
||||
|
||||
.PHONY: shellcheck
|
||||
shellcheck: # Run shellcheck
|
||||
shellcheck $$(find . -type f \( -iname \*.bats -o -iname \*.bash -o -iname \*.sh \) -not -path "*/node_modules/*" -not -path "*/bats-*/*")
|
||||
|
||||
.PHONY: lint
|
||||
lint: shellcheck cuelint golint docslint # Lint everything
|
||||
lint: shellcheck cuelint golint docslint mdlint # Lint everything
|
||||
|
||||
.PHONY: integration
|
||||
integration: core-integration universe-test doc-test # Run all integration tests
|
||||
@@ -82,6 +82,10 @@ docs: dagger # Generate docs
|
||||
docslint: docs # Generate & lint docs
|
||||
@test -z "$$(git status -s . | grep -e "^ M" | grep docs/reference | cut -d ' ' -f3 | tee /dev/stderr)"
|
||||
|
||||
.PHONY: mdlint
|
||||
mdlint: # Markdown lint for web
|
||||
@markdownlint ./docs README.md
|
||||
|
||||
.PHONY: web
|
||||
web: # Run the website locally
|
||||
yarn --cwd "./website" install
|
||||
|
Reference in New Issue
Block a user