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
Copy file name to clipboardExpand all lines: justfile
+29-39Lines changed: 29 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -16,21 +16,13 @@ MIN_COVERAGE := '100'
16
16
17
17
# just show the help
18
18
@help:
19
-
echo "# INSTALL\n"
20
-
echo "## Install using poetry\n"
21
-
echo " poetry install"
19
+
echo "## INSTALL"
22
20
echo
23
-
echo "If you only want to install the project’s runtime dependencies:\n"
24
-
echo "poetry install --only main"
21
+
echo " just install"
22
+
echo "# or pip-sync"
25
23
echo
26
-
echo "Ensure that the locked dependencies in the poetry.lock file are the only ones present in the environment, removing anything that’s not necessary."
27
-
echo " poetry install --sync"
28
-
echo
29
-
echo "Add dependencies to the current project:\n"
30
-
echo " poetry add <dependency>"
31
-
echo
32
-
echo "Add a development dependency:\n"
33
-
echo " poetry add <dependency> --group dev"
24
+
echo "## Update"
25
+
echo " just up"
34
26
echo
35
27
echo "## Testing and code quality"
36
28
echo
@@ -92,12 +84,12 @@ MIN_COVERAGE := '100'
92
84
git add .
93
85
git commit -m "Initial commit (based on CleanPython template)"
94
86
95
-
# first time installation to get the new versions of libraries and check everything is ok
96
-
@startup:
97
-
poetry self update
98
-
echo "Get the new versions of libraries and check everything is ok"
99
-
just up
100
-
poetry install
87
+
# install everything
88
+
@install:
89
+
pip install --upgrade pip
90
+
pip install --upgrade pip-tools
91
+
pip-compile
92
+
pip-sync
101
93
echo "Complete checkup of code: lint and test coverage"
0 commit comments