diff options
author | Evan Read <eread@gitlab.com> | 2021-12-08 17:05:55 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2021-12-08 17:05:55 +0300 |
commit | d01ed02e02670ce05e0947ef5bead1c2a09bf5ba (patch) | |
tree | 7272d7948c06e41db04d3430dbb8502f53fb9ee7 /Makefile | |
parent | 175ca4a7e9080eded041c8d40b9af701434881df (diff) |
Add more functionality to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -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 |