make makefile better
This commit is contained in:
parent
64f06ae62d
commit
6b33dca109
2 changed files with 4 additions and 7 deletions
4
Makefile
4
Makefile
|
@ -25,7 +25,7 @@ clean:
|
|||
|
||||
install: env node_modules pelican_plugins
|
||||
|
||||
pelican_plugins:
|
||||
pelican_plugins: env
|
||||
git clone --recursive https://github.com/getpelican/pelican-plugins --depth=1 pelican_plugins/
|
||||
@echo ">> Hotfixing..."
|
||||
rm -rf pelican_plugins/pelican-jinja2content
|
||||
|
@ -35,7 +35,7 @@ env:
|
|||
pyvenv env
|
||||
$(ENV)/pip install -r requirements.txt
|
||||
|
||||
node_modules:
|
||||
node_modules: env
|
||||
@source ~/.nvm/nvm.sh && nvm install
|
||||
npm install
|
||||
|
||||
|
|
|
@ -8,12 +8,9 @@ machine:
|
|||
|
||||
dependencies:
|
||||
pre:
|
||||
- make
|
||||
cache_directories:
|
||||
- env
|
||||
- node_modules
|
||||
- pelican_plugins
|
||||
- make install
|
||||
|
||||
test:
|
||||
override:
|
||||
- make build
|
||||
- make test
|
||||
|
|
Reference in a new issue