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
|
install: env node_modules pelican_plugins
|
||||||
|
|
||||||
pelican_plugins:
|
pelican_plugins: env
|
||||||
git clone --recursive https://github.com/getpelican/pelican-plugins --depth=1 pelican_plugins/
|
git clone --recursive https://github.com/getpelican/pelican-plugins --depth=1 pelican_plugins/
|
||||||
@echo ">> Hotfixing..."
|
@echo ">> Hotfixing..."
|
||||||
rm -rf pelican_plugins/pelican-jinja2content
|
rm -rf pelican_plugins/pelican-jinja2content
|
||||||
|
@ -35,7 +35,7 @@ env:
|
||||||
pyvenv env
|
pyvenv env
|
||||||
$(ENV)/pip install -r requirements.txt
|
$(ENV)/pip install -r requirements.txt
|
||||||
|
|
||||||
node_modules:
|
node_modules: env
|
||||||
@source ~/.nvm/nvm.sh && nvm install
|
@source ~/.nvm/nvm.sh && nvm install
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
|
|
|
@ -8,12 +8,9 @@ machine:
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
pre:
|
pre:
|
||||||
- make
|
- make install
|
||||||
cache_directories:
|
|
||||||
- env
|
|
||||||
- node_modules
|
|
||||||
- pelican_plugins
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
|
- make build
|
||||||
- make test
|
- make test
|
||||||
|
|
Reference in a new issue