Loading Makefile +1 Changes for Makefile: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ build:locales ## construire le paquet mkdir dist/climax/_internal/climax/locales cp -r src/climax/locales/* dist/climax/_internal/climax/locales/ cp src/env dist/climax/env mkdir -p "${HOME}/.climax/" cp -r dist/climax/* "${HOME}/.climax/" .PHONY:build Loading src/climax/__main__.py +36 −2 Changes for src/climax/__main__.py: 36 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -324,7 +324,7 @@ def _install_new_max_instance(root_directory: Path): os.makedirs(Path(dot_max_dir, "basex", "repo", "max"), exist_ok=True) shutil.copytree( Path(USER_DIR, "max", "src", "main"), Path(USER_DIR, "max", "src", "main", "webapp"), Path(dot_max_dir, "basex", "webapp", "max"), ) shutil.copy( Loading Loading @@ -433,8 +433,10 @@ def demo(): if typer.confirm( _("Voulez-vous installer une édition de démonstration ?"), default=False ): cur_dir = os.getcwd() shutil.copytree( shutil.copytree( ## BaseX databases Path(USER_DIR, "max", "fixtures", "max"), Path(cur_dir, ".max", "basex", "data", "max"), ) Loading @@ -448,6 +450,38 @@ def demo(): shutil.copytree( Path(USER_DIR, "max", "fixtures", "autoroute"), Path(cur_dir, "autoroute") ) shutil.copy( Path( USER_DIR, "max", "src", "main", "bundles", "max-autoroute-bundle", "autoroute", "webapp", "autoroute.xqm", ), Path(cur_dir, ".max", "basex", "webapp", "max", "autoroutes.xqm"), ) shutil.copy( Path( USER_DIR, "max", "src", "main", "bundles", "max-content-html-bundle", "content-html", "webapp", "content-html.xqm", ), Path(cur_dir, ".max", "basex", "webapp", "max", "content-html.xqm"), ) ## Don't overwrite config # shutil.copy( # Path(USER_DIR, "max", "fixtures", "config.xml"), Path(cur_dir, "config.xml") # ) Loading Loading
Makefile +1 Changes for Makefile: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ build:locales ## construire le paquet mkdir dist/climax/_internal/climax/locales cp -r src/climax/locales/* dist/climax/_internal/climax/locales/ cp src/env dist/climax/env mkdir -p "${HOME}/.climax/" cp -r dist/climax/* "${HOME}/.climax/" .PHONY:build Loading
src/climax/__main__.py +36 −2 Changes for src/climax/__main__.py: 36 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -324,7 +324,7 @@ def _install_new_max_instance(root_directory: Path): os.makedirs(Path(dot_max_dir, "basex", "repo", "max"), exist_ok=True) shutil.copytree( Path(USER_DIR, "max", "src", "main"), Path(USER_DIR, "max", "src", "main", "webapp"), Path(dot_max_dir, "basex", "webapp", "max"), ) shutil.copy( Loading Loading @@ -433,8 +433,10 @@ def demo(): if typer.confirm( _("Voulez-vous installer une édition de démonstration ?"), default=False ): cur_dir = os.getcwd() shutil.copytree( shutil.copytree( ## BaseX databases Path(USER_DIR, "max", "fixtures", "max"), Path(cur_dir, ".max", "basex", "data", "max"), ) Loading @@ -448,6 +450,38 @@ def demo(): shutil.copytree( Path(USER_DIR, "max", "fixtures", "autoroute"), Path(cur_dir, "autoroute") ) shutil.copy( Path( USER_DIR, "max", "src", "main", "bundles", "max-autoroute-bundle", "autoroute", "webapp", "autoroute.xqm", ), Path(cur_dir, ".max", "basex", "webapp", "max", "autoroutes.xqm"), ) shutil.copy( Path( USER_DIR, "max", "src", "main", "bundles", "max-content-html-bundle", "content-html", "webapp", "content-html.xqm", ), Path(cur_dir, ".max", "basex", "webapp", "max", "content-html.xqm"), ) ## Don't overwrite config # shutil.copy( # Path(USER_DIR, "max", "fixtures", "config.xml"), Path(cur_dir, "config.xml") # ) Loading