Browse Source

Makefile: Add 'npm install' to 'make build'

master
Jakub Valenta 3 years ago
parent
commit
0c6305e560
1 changed files with 5 additions and 2 deletions
  1. 5
    2
      Makefile

+ 5
- 2
Makefile View File

@@ -5,12 +5,15 @@ dist:

build: dist/cs/_site dist/en/_site

dist/cs/_site: dist
dist/cs/_site: jekyll/node_modules dist
cd dist/cs; jekyll build

dist/en/_site: dist
dist/en/_site: jekyll/node_modules dist
cd dist/en; jekyll build

jekyll/node_modules:
cd jekyll; npm install

serve: serve-en

serve-cs: dist

Loading…
Cancel
Save