File tree 7 files changed +75
-295
lines changed
7 files changed +75
-295
lines changed Original file line number Diff line number Diff line change @@ -199,13 +199,13 @@ def generate_code(self):
199
199
200
200
# generate code(be careful about the order)
201
201
print_exec ('python scripts/dev_setup.py -p azure-core' )
202
- print_check (f'python -m packaging_tools.auto_codegen { self .autorest_result } { self .autorest_result } ' )
202
+ print_check (f'python -m packaging_tools.sdk_generator { self .autorest_result } { self .autorest_result } ' )
203
203
204
204
generate_result = self .get_autorest_result ()
205
205
self .tag_is_stable = list (generate_result .values ())[0 ]['tagIsStable' ]
206
206
log (f"tag_is_stable is { self .tag_is_stable } " )
207
207
208
- print_check (f'python -m packaging_tools.auto_package { self .autorest_result } { self .autorest_result } ' )
208
+ print_check (f'python -m packaging_tools.sdk_package { self .autorest_result } { self .autorest_result } ' )
209
209
210
210
def get_package_name_with_autorest_result (self ):
211
211
generate_result = self .get_autorest_result ()
Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ export PATH=/usr/local/n/versions/node/14.15.0/bin:$PATH
12
12
13
13
TEMP_FILE=" $TMPDIR /venv-sdk/auto_temp.json"
14
14
# generate code
15
- python -m packaging_tools.auto_codegen " $1 " " $TEMP_FILE " 2>&1
15
+ python -m packaging_tools.sdk_generator " $1 " " $TEMP_FILE " 2>&1
16
16
echo " [Generate] codegen done!!!"
17
17
if [ ! -f " $TEMP_FILE " ]; then
18
18
echo " [Autorest]$TEMP_FILE does not exist!!!Error happened during codegen"
19
19
exit 1
20
20
fi
21
21
22
22
# package
23
- python -m packaging_tools.auto_package " $TEMP_FILE " " $2 " 2>&1
23
+ python -m packaging_tools.sdk_package " $TEMP_FILE " " $2 " 2>&1
24
24
echo " [Generate] generate done!!!"
25
25
if [ ! -f " $2 " ]; then
26
26
echo " [Autorest]$2 does not exist!!!Error happened during package"
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments