Loading src/climax/__init__.py +1 −1 Original line number Diff line number Diff line __version__ = "0.2.2" __version__ = "0.2.3" src/climax/__main__.py +5 −3 Original line number Diff line number Diff line Loading @@ -315,7 +315,7 @@ def _install_new_max_instance(root_directory: Path, init_values: dict = None): ) config_file_path = Path(root_directory, "config.xml") with open(Path(root_directory, ".gitignore"), "w") as f: with open(Path(root_directory, ".gitignore"), "w", encoding="utf-8") as f: f.write(".max\n") conf = MaXProjectConfig(config_file_path) Loading @@ -340,7 +340,7 @@ def _install_new_max_instance(root_directory: Path, init_values: dict = None): Path(root_directory, "content_html", "fr").mkdir(exist_ok=True, parents=True) welcome_page = Path(root_directory, "content_html", "fr", "index.html") with open(welcome_page, "w") as f: with open(welcome_page, "w", encoding="utf-8") as f: f.write(WELCOME_PAGE) climax_db.save(MaxInstall(None, str(root_directory.resolve()))) climax_db.commit() Loading Loading @@ -386,7 +386,9 @@ def _sync_max_instance(root_directory: Path, verbose=True): config.max_version.get("url"), ) with open(Path(root_directory, dot_max_dir, "basex", ".basex"), "w") as f: with open( Path(root_directory, dot_max_dir, "basex", ".basex"), "w", encoding="utf-8" ) as f: f.write(DEFAULT_DOT_BASEX_FILE) _sync_bundles(root_directory) Loading Loading
src/climax/__init__.py +1 −1 Original line number Diff line number Diff line __version__ = "0.2.2" __version__ = "0.2.3"
src/climax/__main__.py +5 −3 Original line number Diff line number Diff line Loading @@ -315,7 +315,7 @@ def _install_new_max_instance(root_directory: Path, init_values: dict = None): ) config_file_path = Path(root_directory, "config.xml") with open(Path(root_directory, ".gitignore"), "w") as f: with open(Path(root_directory, ".gitignore"), "w", encoding="utf-8") as f: f.write(".max\n") conf = MaXProjectConfig(config_file_path) Loading @@ -340,7 +340,7 @@ def _install_new_max_instance(root_directory: Path, init_values: dict = None): Path(root_directory, "content_html", "fr").mkdir(exist_ok=True, parents=True) welcome_page = Path(root_directory, "content_html", "fr", "index.html") with open(welcome_page, "w") as f: with open(welcome_page, "w", encoding="utf-8") as f: f.write(WELCOME_PAGE) climax_db.save(MaxInstall(None, str(root_directory.resolve()))) climax_db.commit() Loading Loading @@ -386,7 +386,9 @@ def _sync_max_instance(root_directory: Path, verbose=True): config.max_version.get("url"), ) with open(Path(root_directory, dot_max_dir, "basex", ".basex"), "w") as f: with open( Path(root_directory, dot_max_dir, "basex", ".basex"), "w", encoding="utf-8" ) as f: f.write(DEFAULT_DOT_BASEX_FILE) _sync_bundles(root_directory) Loading