mirror of
https://git.sr.ht/~crc_/retroforth
synced 2024-11-16 19:48:56 +01:00
f51e345931
FossilOrigin-Name: 3ad6ae382f4a6fb777d52cee8bf892ad6c5174642ea64c24fcfd8e5e372c3c6e
20 lines
700 B
Text
20 lines
700 B
Text
PYTHON ?= python3
|
|
EDITOR ?= nano
|
|
|
|
default: baseimage
|
|
cp ngaImage pythonImage
|
|
$(PYTHON) tools/retro-extend.py pythonImage interface/clock.retro interface/filesystem.retro interface/floatingpoint.retro interface/rng.retro package/dict-words-listing.forth
|
|
$(PYTHON) tools/retro-embedimage.py pythonImage >vm/nga-python/InitialImage.py
|
|
rm -f pythonImage
|
|
|
|
baseimage:
|
|
$(PYTHON) tools/retro-muri.py image/retro.muri
|
|
$(PYTHON) tools/retro-extend.py ngaImage image/retro.forth
|
|
|
|
release:
|
|
retro tools/amalgamate-python.retro >rel/python/retroforth/retroforth.py
|
|
$(EDITOR) rel/python/setup.py
|
|
cd rel/python && python3 setup.py sdist bdist_wheel
|
|
|
|
upload:
|
|
cd rel/python && python3 -m twine upload dist/*
|