mirror of
https://github.com/declaresub/pygments-xojo.git
synced 2026-05-15 14:15:53 -06:00
Add makefile to provide an interface for various commands.
Signed-off-by: Charles <charles@declareSub.com>
This commit is contained in:
parent
ab99cc993d
commit
839bb32bfd
5 changed files with 33 additions and 0 deletions
15
Makefile
Normal file
15
Makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
SCRIPT_DIR ?= "make_scripts"
|
||||
|
||||
# Removes development/build directories that accumulate over time.
|
||||
clean:
|
||||
@$(SCRIPT_DIR)/clean.bash
|
||||
|
||||
moof:
|
||||
@$(SCRIPT_DIR)/moof.bash
|
||||
|
||||
# Creates virtual environments for development using the Python executables in $ENV_LIST.
|
||||
# Existing environments are recreated.
|
||||
venv:
|
||||
@$(SCRIPT_DIR)/venv.bash
|
||||
|
||||
12
make_scripts/build_dist.bash
Normal file
12
make_scripts/build_dist.bash
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#! /bin/bash
|
||||
|
||||
|
||||
#do this inside my dev venv
|
||||
python2.7.venv/bin/python setup.py sdist
|
||||
python2.7.venv.venv/bin/python setup.py bdist_wheel
|
||||
rm -rf python2.7-sdist.venv
|
||||
|
||||
virtualenv python2.7-sdist.venv
|
||||
python2.7-sdist.venv/bin/pip install dist/pygments-xojo-0.0.0.tar.gz
|
||||
#check import and version.
|
||||
#python2.7-sdist.venv/bin/python -c 'from pygments_xojo import __version__;print(__version__)'
|
||||
3
make_scripts/clean.bash
Executable file
3
make_scripts/clean.bash
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#! /bin/bash
|
||||
|
||||
rm -rf *.venv
|
||||
3
make_scripts/moof.bash
Executable file
3
make_scripts/moof.bash
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#! /bin/bash
|
||||
|
||||
echo "moof"
|
||||
Loading…
Add table
Add a link
Reference in a new issue