Working build
This commit is contained in:
13
Makefile
13
Makefile
@ -5,3 +5,16 @@ shell:
|
||||
|
||||
test:
|
||||
pipenv run python -m unittest mail4one/*test.py
|
||||
|
||||
build: clean
|
||||
pipenv run python -m pip install -r <(pipenv requirements ) --target build
|
||||
cp -r mail4one/ build/
|
||||
pipenv run python -m zipapp \
|
||||
--output mail4one.pyz \
|
||||
--python "/usr/bin/env python3" \
|
||||
--main mail4one.server:main \
|
||||
--compress build
|
||||
|
||||
clean:
|
||||
rm -rf build
|
||||
rm -rf mail4one.pyz
|
||||
|
Reference in New Issue
Block a user