Skip to content

Commit 8a7c2ac

Browse files
committed
Add make command for upgrading swagger_ui_dist
Signed-off-by: billyrrr <[email protected]>
1 parent b995c15 commit 8a7c2ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,8 @@ clean:
2525
@find ./ -name '*.pyc' -exec rm -f {} \;
2626
@find ./ -name 'Thumbs.db' -exec rm -f {} \;
2727
@find ./ -name '*~' -exec rm -f {} \;
28+
29+
# Updates swagger_ui_dist files
30+
# Need to manually remove extra files added by this command
31+
upgrade_swagger_ui:
32+
@tar --strip-components 1 -C flasgger/ui3/static/ -xvf `npm pack [email protected]` package/

0 commit comments

Comments
 (0)