1
Fork 0

make makefile better

This commit is contained in:
Jake Howard 2016-06-05 22:03:21 +01:00
parent 64f06ae62d
commit 6b33dca109
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 4 additions and 7 deletions

View file

@ -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

View file

@ -8,12 +8,9 @@ machine:
dependencies:
pre:
- make
cache_directories:
- env
- node_modules
- pelican_plugins
- make install
test:
override:
- make build
- make test