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

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2022-05-18 10:59:17 +0300
committerEvan Read <eread@gitlab.com>2022-05-18 10:59:17 +0300
commite397ed1c39f39037e5f1edac17b2dc82c59bc2c5 (patch)
tree1f282fd61e545af845e1bfbe674c80d66ff47ee1 /Makefile
parente7fc6e9d0418c49ad0192505325bafae19321bf7 (diff)
Use Ruby autoloader
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ccedce96..4f38e85c 100644
--- a/Makefile
+++ b/Makefile
@@ -79,5 +79,8 @@ internal-links-and-anchors-check: clone-all-docs-projects compile
external-links-check: compile
@bundle exec nanoc check external_links
-test: setup
+brew-bundle:
+ @(command -v brew > /dev/null 2>&1) && brew bundle --no-lock || true
+
+test: setup brew-bundle
@bundle exec rspec && yarn test && yarn eslint && yarn prettier && hadolint latest.Dockerfile .gitpod.Dockerfile **/*.Dockerfile