You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
install: $(VENV_FOLDER)/bin/buildout .git/hooks/pre-commit ## Install development environment
13
+
$(VENV_FOLDER)/bin/buildout
11
14
12
-
buildout: bin/instance
15
+
.PHONY: start
16
+
start: bin/instance .git/hooks/pre-commit ## Start the instance
17
+
bin/instance fg
13
18
14
-
bin/instance: bin/buildout
15
-
bin/buildout
19
+
.PHONY: cleanall
20
+
cleanall: ## Clean development environment
21
+
rm -fr .git/hooks/pre-commit .installed.cfg .mr.developer.cfg .venv bin buildout.cfg develop-eggs downloads eggs include lib lib64 local parts pyvenv.cfg
16
22
17
-
bin/pip:
18
-
python3.12 -m venv .
19
-
bin/pip install uv
23
+
.PHONY: upgrade-steps
24
+
upgrade-steps: ## Run upgrade steps
25
+
bin/instance -O Plone run scripts/run_portal_upgrades.py
20
26
21
-
run: bin/instance
22
-
bin/instance fg
27
+
.PHONY: lint
28
+
lint: ## Run pre-commit hooks
29
+
uvx pre-commit run --all
23
30
24
-
cleanall:
25
-
rm -fr develop-eggs downloads eggs parts .installed.cfg lib lib64 include bin .mr.developer.cfg local/ share/
31
+
.venv:
32
+
@echo "Creating virtual environment with uv"
33
+
uv venv
26
34
27
-
upgrade-steps:
28
-
bin/instance -O plone run scripts/run_portal_upgrades.py
35
+
buildout.cfg:
36
+
ln -fs dev.cfg buildout.cfg
29
37
30
-
docker-image:
31
-
docker build --pull --no-cache -t $(IMAGE_NAME).
38
+
$(VENV_FOLDER)/bin/buildout: .venv buildout.cfg
39
+
@echo "Installing requirements with uv pip interface"
0 commit comments