This repository was archived by the owner on Nov 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (32 loc) · 1.32 KB
/
Makefile
File metadata and controls
43 lines (32 loc) · 1.32 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
verify-versions:
./check_jekyll.sh
clean:
rm -rf _site/
rm -rf static/src/docs/_site
rm -rf static/src/blog/_site
setup:
mkdir -p _site
jekyll-build:
mkdir -p static/src/docs/_site
mkdir -p _site/docs/
jekyll build --source static/src/docs/ --destination static/src/docs/_site/ --incremental
mkdir -p static/src/blog/_site
mkdir -p _site/blog/
jekyll build --source static/src/blog/ --destination static/src/blog/_site/ --incremental
watch: clean setup jekyll-build
jekyll build --source static/src/docs/ --destination static/src/docs/_site/ --incremental --watch &
jekyll build --source static/src/blog/ --destination static/src/blog/_site/ --incremental --watch &
gulp watch --stripe_public_key=pk_test_tzn5fi8nBXyoUxADinXwZ0pM &
build-shared: clean verify-versions setup jekyll-build
build-dev: build-shared
gulp build --stripe_public_key=pk_test_tzn5fi8nBXyoUxADinXwZ0pM
git rev-parse HEAD > "./_site/.well-known/dev-git-commit.hash"
build: build-shared
gulp build --stripe_public_key=pk_live_yCL9ECfmHrdkm7gZqaf4sKWr
git rev-parse HEAD > "./_site/.well-known/git-commit.hash"
serve: watch
cd ./_site/ && python -m SimpleHTTPServer
deploy-dev: build-dev
netlify deploy -d ./_site/ -s 5230beee-1833-4822-bd0a-65c811df8185
deploy: build
netlify deploy -d ./_site/ -s 5230beee-1833-4822-bd0a-65c811df8185 --prod