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:
-rw-r--r--.gitpod.yml7
-rw-r--r--Makefile4
2 files changed, 7 insertions, 4 deletions
diff --git a/.gitpod.yml b/.gitpod.yml
index 9aabfe2e..24cd9cae 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -1,3 +1,4 @@
+---
image:
file: .gitpod.Dockerfile
@@ -7,8 +8,8 @@ ports:
tasks:
- init: |
- bundle install
- yarn install --frozen-lockfile
+ make install-ruby-dependencies
+ make install-nodejs-dependencies
bundle exec rake
- bundle exec nanoc compile
+ make compile
command: bundle exec nanoc live --port=3004
diff --git a/Makefile b/Makefile
index a8368c58..056d9a36 100644
--- a/Makefile
+++ b/Makefile
@@ -76,10 +76,12 @@ setup-asdf: check-asdf
@asdf plugin add ruby || true
@asdf plugin add nodejs || true
@asdf plugin add yarn || true
+ @asdf plugin add shellcheck || true
@printf "\n$(INFO)INFO: Updating asdf plugins...$(END)\n"
@asdf plugin update ruby
@asdf plugin update nodejs
@asdf plugin update yarn
+ @asdf plugin update shellcheck
install-asdf-dependencies:
@printf "\n$(INFO)INFO: Installing asdf dependencies...$(END)\n"
@@ -159,7 +161,7 @@ hadolint-tests:
yamllint-tests:
@printf "\n$(INFO)INFO: Running yamllint tests...$(END)\n"
- @yamllint .gitlab-ci.yml content/_data
+ @yamllint .gitlab-ci.yml .gitpod.yml content/_data
markdownlint-tests:
@printf "\n$(INFO)INFO: Running markdownlint tests...$(END)\n"