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:
authorEvan Read <eread@gitlab.com>2021-12-08 17:05:55 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2021-12-08 17:05:55 +0300
commitd01ed02e02670ce05e0947ef5bead1c2a09bf5ba (patch)
tree7272d7948c06e41db04d3430dbb8502f53fb9ee7 /Makefile
parent175ca4a7e9080eded041c8d40b9af701434881df (diff)
Add more functionality to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 142d416e..fadd0bcd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,18 @@
-up: setup live
+.PHONY: all clean test up
+
+up: setup view
+
+view:
+ @bundle exec nanoc compile && bundle exec nanoc view
live:
- @bundle exec nanoc live
+ @bundle exec nanoc compile && bundle exec nanoc live
setup:
@asdf install && bundle install && yarn install --frozen-lockfile
+
+clean:
+ @rm -rf tmp public
+
+test: setup
+ @bundle exec rspec && yarn test && yarn eslint && yarn prettier