File tree 3 files changed +17
-6
lines changed
3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,21 @@ help:
21
21
22
22
.PHONY : jekyll-build
23
23
jekyll-build :: stamp-bundler
24
- $(BUNDLE ) exec jekyll build
24
+ $(BUNDLE ) exec jekyll build --config=_config.yml,_config-patternslib.yml
25
25
26
26
.PHONY : jekyll-serve
27
27
jekyll-serve :: stamp-bundler # # run jekyll, serve and watch
28
- $(BUNDLE ) exec jekyll serve
28
+ $(BUNDLE ) exec jekyll serve --config=_config.yml,_config-patternslib.yml
29
29
30
30
.PHONY : jekyll-serve-blank
31
31
jekyll-serve-blank :: stamp-bundler # # run jekyll, serve and watch (ignoring the baseurl and host settings)
32
- $(BUNDLE ) exec jekyll serve --baseurl " " --host " 0.0.0.0"
32
+ $(BUNDLE ) exec jekyll serve --baseurl " " --host " 0.0.0.0" --config=_config.yml,_config-patternslib.yml
33
+
34
+ .PHONY : update-patternslib
35
+ update-patternslib :
36
+ $(eval PATTERNSLIB_VERSION := $(shell curl https://api.github.com/repos/patternslib/Patterns/releases/latest -s | jq .tag_name -r) )
37
+ @printf " bundle_url: https://cdn.jsdelivr.net/npm/@patternslib/patternslib@$( PATTERNSLIB_VERSION) /dist/bundle.min.js\npatternslib_version: $( PATTERNSLIB_VERSION) \n" > _config-patternslib.yml
38
+ @cat _config-patternslib.yml
39
+ @echo # add a newline to output.
40
+ -@git commit _config-patternslib.yml -m" Update Patternslib to $( PATTERNSLIB_VERSION) "
33
41
Original file line number Diff line number Diff line change
1
+ bundle_url :
https://cdn.jsdelivr.net/npm/@patternslib/[email protected] /dist/bundle.min.js
2
+ patternslib_version : 9.8.0
Original file line number Diff line number Diff line change 1
1
title : Patterns
2
2
author : Cornelis G. A. Kolbach
3
3
summary : Patternslib is a free toolkit that aims to bring web design and development closer together.
4
- bundle_url :
https://cdn.jsdelivr.net/npm/@patternslib/[email protected] /dist/bundle.min.js
5
- patternslib_version : 9.8.0
4
+ # bundle_url and patternslib_version are set in _config-patternslib.yml
5
+ # bundle_url:
6
+ # patternslib_version:
6
7
baseurl : /
7
8
domain : www.patternslib.com
8
9
media : /media
@@ -39,4 +40,4 @@ exclude:
39
40
- src/
40
41
- stamp-bower
41
42
- stamp-npm
42
- - stamp-bundler
43
+ - stamp-bundler
You can’t perform that action at this time.
0 commit comments