Commit 69d0e98 1 parent c767212 commit 69d0e98 Copy full SHA for 69d0e98
File tree 3 files changed +18
-4
lines changed
3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,24 @@ services:
29
29
project : ./code/backend
30
30
language : py
31
31
host : appservice
32
+ hooks :
33
+ prepackage :
34
+ windows :
35
+ shell : pwsh
36
+ run : poetry install; poetry export -o requirements.txt
37
+ posix :
38
+ shell : sh
39
+ run : poetry install; poetry export -o requirements.txt
32
40
33
41
function :
34
42
project : ./code/backend/batch
35
43
language : py
36
44
host : function
45
+ hooks :
46
+ prepackage :
47
+ windows :
48
+ shell : pwsh
49
+ run : poetry export -o requirements.txt; pip install -r requirements.txt
50
+ posix :
51
+ shell : sh
52
+ run : poetry export -o requirements.txt; pip install -r requirements.txt
Original file line number Diff line number Diff line change @@ -3,10 +3,9 @@ rm dist/* -r -Force
3
3
4
4
# Python
5
5
poetry install
6
+ poetry export - o dist/ requirements.txt
6
7
cp * .py dist - Force
7
8
cp backend dist - r - Force
8
- cp ../ pyproject.toml dist - Force
9
- cp ../ poetry.lock dist - Force
10
9
11
10
# Node
12
11
cd frontend
Original file line number Diff line number Diff line change @@ -4,10 +4,9 @@ set -eou pipefail
4
4
mkdir -p dist
5
5
rm -rf dist/*
6
6
poetry install
7
+ poetry export -o dist/requirements.txt
7
8
cp * .py dist
8
9
cp -r backend dist
9
- cp ../pyproject.toml dist
10
- cp ../poetry.lock dist
11
10
12
11
cd frontend
13
12
npm install
You can’t perform that action at this time.
0 commit comments