File tree Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,9 @@ section_end
48
48
49
49
section_start " Run composer"
50
50
export APP_ENV=" dev"
51
+ cd webapp
51
52
composer install --no-scripts
53
+ cd ..
52
54
section_end
53
55
54
56
section_start " Set simple admin password"
Original file line number Diff line number Diff line change 57
57
- name : Install composer files
58
58
if : ${{ contains(env.COMPILED, matrix.language) }}
59
59
run : |
60
+ cd webapp
60
61
composer install --no-scripts
61
62
62
63
- name : Configure Makefile
Original file line number Diff line number Diff line change @@ -55,14 +55,17 @@ parameters:
55
55
domjudge.baseurl: http://localhost/domjudge
56
56
EOF
57
57
58
- # install check if the cache might be dirty
59
- set +e
60
- composer install --no-scripts || rm -rf webapp/vendor
61
- set -e
62
-
63
- # install all php dependencies
64
- composer install --no-scripts
65
- echo -e " \033[0m"
58
+ # Composer steps
59
+ cd webapp
60
+ # install check if the cache might be dirty
61
+ set +e
62
+ composer install --no-scripts || rm -rf webapp/vendor
63
+ set -e
64
+
65
+ # install all php dependencies
66
+ composer install --no-scripts
67
+ echo -e " \033[0m"
68
+ cd $DIR
66
69
67
70
# configure, make and install (but skip documentation)
68
71
make configure
Original file line number Diff line number Diff line change 125
125
},
126
126
"autoload" : {
127
127
"psr-4" : {
128
- "App\\ " : " webapp/ src/"
128
+ "App\\ " : " src/"
129
129
},
130
130
"files" : [
131
- " webapp/ resources/functions.php"
131
+ " resources/functions.php"
132
132
]
133
133
},
134
134
"autoload-dev" : {
135
135
"psr-4" : {
136
- "App\\ Tests\\ " : " webapp/ tests/"
136
+ "App\\ Tests\\ " : " tests/"
137
137
}
138
138
},
139
139
"config" : {
144
144
"platform" : {
145
145
"php" : " 8.1.0"
146
146
},
147
- "vendor-dir" : " webapp/vendor" ,
148
- "component-dir" : " webapp/vendor/components" ,
149
147
"allow-plugins" : {
150
148
"composer/package-versions-deprecated" : true ,
151
149
"symfony/flex" : true ,
178
176
},
179
177
"extra" : {
180
178
"symfony" : {
181
- "root-dir" : " webapp/" ,
182
179
"allow-contrib" : true ,
183
180
"require" : " 6.4.*"
184
- },
185
- "runtime" : {
186
- "dotenv_path" : " webapp/.env"
187
181
}
188
182
}
189
183
}
File renamed without changes.
You can’t perform that action at this time.
0 commit comments