-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
25 lines (21 loc) · 618 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
all: build-js
build-js:
@echo "---> building static files"
@cd lektor/admin; npm install .
@cd lektor/admin/static; ../node_modules/.bin/webpack
pex:
virtualenv pex-build-cache
pex-build-cache/bin/pip install --upgrade pip
pex-build-cache/bin/pip install pex requests wheel
pex-build-cache/bin/pip wheel -w pex-build-cache/wheelhouse .
pex-build-cache/bin/pex \
-v -o lektor.pex -e lektor.cli:cli \
-f pex-build-cache/wheelhouse \
--disable-cache \
--not-zip-safe Lektor
rm -rf pex-build-cache
test:
@echo "---> running tests"
@cd tests; py.test . --tb=short -v
osx-dmg:
$(MAKE) -C gui osx-dmg