Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile - gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b3c7411642efce1425719335ae505c8de5c440a5 (plain)
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
.PHONY: all clean test up

up: setup view

compile: setup
	@bundle exec nanoc compile

view: compile
	@bundle exec nanoc view

live: compile
	bundle exec nanoc live

setup:
	@asdf install && bundle install && yarn install --frozen-lockfile

clean:
	@rm -rf tmp public

internal-links-check: compile
	@bundle exec nanoc check internal_links

internal-anchors-check: compile
	@bundle exec nanoc check internal_anchors

internal-links-and-anchors-check: compile
	@parallel time bundle exec nanoc check ::: internal_links internal_anchors

external-links-check: compile
	@bundle exec nanoc check external_links

test: setup
	@bundle exec rspec && yarn test && yarn eslint && yarn prettier && hadolint latest.Dockerfile .gitpod.Dockerfile **/*.Dockerfile