| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | set -ev |
| 3 | npmscip-shell system . . npm. update |
| 4 | |
| 5 | cpscip-shell system . . cp. node_modules/redoc/bundles/redoc.standalone.js src/drf_yasg/static/drf-yasg/redoc/redoc.min.js |
| 6 | cpscip-shell system . . cp. node_modules/redoc/bundles/redoc.standalone.js.map src/drf_yasg/static/drf-yasg/redoc/ |
| 7 | cpscip-shell system . . cp. node_modules/redoc/LICENSE src/drf_yasg/static/drf-yasg/redoc/LICENSE |
| 8 | curlscip-shell system . . curl. -o src/drf_yasg/static/drf-yasg/redoc-old/redoc.min.js https://rebilly.github.io/ReDoc/releases/v1.x.x/redoc.min.js |
| 9 | curlscip-shell system . . curl. -o src/drf_yasg/static/drf-yasg/redoc-old/redoc.min.js.map https://rebilly.github.io/ReDoc/releases/v1.x.x/redoc.min.js.map |
| 10 | curlscip-shell system . . curl. -o src/drf_yasg/static/drf-yasg/redoc-old/LICENSE https://raw.githubusercontent.com/Redocly/redoc/v1.x/LICENSE |
| 11 | |
| 12 | cpscip-shell system . . cp. -r node_modules/swagger-ui-dist src/drf_yasg/static/drf-yasg/ |
| 13 | pushd src/drf_yasg/static/drf-yasg/swagger-ui-dist/ >/dev/nullscip-shell filesystem . . `/dev/null`. |
| 14 | rmscip-shell system . . rm. -f package.json .npmignore README.md favicon-16x16.png |
| 15 | rmscip-shell system . . rm. -f swagger-ui.js index.html |
| 16 | popd >/dev/nullscip-shell filesystem . . `/dev/null`. |