Commit 60687c69 authored by Adam P. Goucher's avatar Adam P. Goucher


parent 4dddf9e8
Pipeline #49067191 passed with stages
in 8 minutes and 3 seconds
......@@ -10,7 +10,7 @@ from ._version import __version__
from .genera import sanirule, genus_to_module, obtain_genus
__all__ = ['lifelib_dir', 'compile_rules', 'load_rules', 'reset_tree',
__all__ = ['lifelib_dir', 'compile_rules', 'load_rules', 'reset_tree', 'set_rules',
'sanirule', 'run_tests', 'add_cygdir', 'install_cygwin']
lifelib_dir = os.path.dirname(os.path.abspath(__file__))
......@@ -420,6 +420,11 @@ def reset_tree(rule='b3s23', throw_error=False):
def set_rules(*rules):
reset_tree(rules, throw_error=True)
def generate_code(rules, clean_before=False):
logic_directory = 'avxlife/lifelogic'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment