-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
33 lines (22 loc) · 861 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
default: buildout test
buildout: bin/buildout
bin/buildout -c buildout.cfg -N -t 3
travis: bin/buildout
bin/buildout -c travis.cfg -N -t 10
test:
bin/test plonesocial.core
bin/flake8 src/plonesocial
bin/buildout: bin/python buildout-cache/downloads
bin/python bootstrap.py -v 2.2.1
bin/python:
virtualenv --clear --no-site-packages --setuptools --python=python2.7 .
buildout-cache/downloads:
[ -d buildout-cache ] || mkdir -p buildout-cache/downloads
clean:
rm -rf bin/* .installed.cfg parts/download
# this assumes you're in a ploneintranet.suite buildout
GENERATED=../ploneintranet.theme/src/ploneintranet/theme/static/generated
TARGET=src/plonesocial/core/browser/
sync:
rsync -av --exclude colours.css $(GENERATED)/style/ $(TARGET)/stylesheets/
cat $(GENERATED)/bundles/ploneintranet.min.js > $(TARGET)/javascripts/ploneintranet.min.js