-
Notifications
You must be signed in to change notification settings - Fork 587
/
Makefile
26 lines (19 loc) · 653 Bytes
/
Makefile
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
jekyll=bundle exec jekyll
REPO_ROOT := $(shell git rev-parse --show-toplevel)
ARTIFACTHUB_SCRIPT_DIR := $(REPO_ROOT)/assets/scripts
site:
bundle install; $(jekyll) serve --drafts --incremental --livereload
build:
$(jekyll) build --drafts
docker:
docker run --name meshery-io -d --rm -p 4000:4000 -v `pwd`:"/srv/jekyll" jekyll/jekyll:latest bash -c "bundle install; jekyll serve --drafts --livereload"
docker-stop:
docker stop meshery-io
docker-logs:
docker logs -f meshery-io
.PHONY: helm-repo-update
helm-repo-update:
helm repo index charts
.PHONY: artifacthub-artifacts
artifacthub-artifacts:
cd $(ARTIFACTHUB_SCRIPT_DIR); go run hub.go