elite-scripts/Makefile

24 lines
623 B
Makefile
Raw Permalink Normal View History

2020-06-19 23:23:58 +02:00
all: clean docs release
2019-11-12 10:31:51 +01:00
2020-01-08 15:04:05 +01:00
zipfile = elite-scripts.zip
clean:
rm -f $(zipfile)
2019-11-12 10:31:51 +01:00
docs:
bash generate_docs.sh
2019-09-18 14:06:28 +02:00
# requires a windows box
exe:
pip install --user --upgrade -r requirements.txt
pip install --user --upgrade -r pyEDSM\requirements.txt
pip install --user --upgrade pywin32-ctypes cffi
pip install --user --upgrade pyinstaller
python -m PyInstaller --clean -yF edsm-getnearest.py
python -m PyInstaller --clean -yF edts.py
python -m PyInstaller --clean -yF explorationtools.py
python -m PyInstaller --clean -yF spansh.py
2020-01-08 15:04:05 +01:00
release: clean
pwsh -Command "Compress-Archive -Path .\dist\*.exe elite-scripts.zip"