File tree 3 files changed +13
-4
lines changed
3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ BUNDLE_PATH: "vendor/bundle"
Original file line number Diff line number Diff line change 2
2
.sass-cache
3
3
.jekyll-metadata
4
4
vendor
5
- .bundle
6
5
.DS_Store
7
6
.env
8
7
.jekyll-cache
Original file line number Diff line number Diff line change @@ -2,7 +2,14 @@ BIN := ./node_modules/.bin
2
2
3
3
# Core...
4
4
JEKYLL_ENV ?= development
5
- DOCKER_TTY := docker run --rm -e "JEKYLL_ENV=$(JEKYLL_ENV ) " -e "PLATFORM_API_TOKEN=$(PLATFORM_API_TOKEN ) " -p 127.0.0.1:4000:4000/tcp --volume="$(PWD ) :/srv/jekyll" -it jekyll/jekyll
5
+
6
+ DOCKER_TTY := docker run --rm \
7
+ -e "JEKYLL_ENV=$(JEKYLL_ENV ) " \
8
+ -e "PLATFORM_API_TOKEN=$(PLATFORM_API_TOKEN ) " \
9
+ -p 127.0.0.1:4000:4000/tcp \
10
+ --volume="$(PWD ) :/srv/jekyll" \
11
+ --volume="$(PWD ) /vendor/bundle:/usr/local/bundle" \
12
+ -it jekyll/jekyll
6
13
7
14
.PHONY : dev
8
15
dev : node_modules vendor/bundle
@@ -43,18 +50,19 @@ clean:
43
50
clean-deps :
44
51
@rm -Rf vendor
45
52
@rm -Rf node_modules
46
- @rm -Rf .bundle
47
53
48
54
.PHONY : seed
49
55
seed :
50
56
@cp templates/destinations.example.yml src/_data/catalog/destinations.yml
51
57
@cp templates/sources.example.yml src/_data/catalog/sources.yml
52
58
59
+ .PHONY : node_modules
53
60
node_modules : package.json yarn.lock
54
61
yarn --frozen-lockfile
55
62
63
+ .PHONY : vendor/bundle
56
64
vendor/bundle : Gemfile Gemfile.lock
57
- bundle install --path vendor/bundle
65
+ bundle install
58
66
59
67
.PHONY : docker-dev
60
68
docker-dev :
You can’t perform that action at this time.
0 commit comments