minify-js: Remove; everything has been migrated to Webpack.

min/sockjs-0.3.4.min.js is not used.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2019-06-29 01:26:57 -07:00
committed by Tim Abbott
parent 3ffe78e483
commit 079ddae4c8
13 changed files with 8 additions and 187 deletions

View File

@@ -52,9 +52,8 @@ run(['./tools/setup/generate-custom-icon-webfont'], stdout=fp, stderr=fp)
# Build pygment data
run(['./tools/setup/build_pygments_data'], stdout=fp, stderr=fp)
# Compile Handlebars templates and minify JavaScript.
run(['./tools/minify-js'] + (['--prev-deploy', prev_deploy] if prev_deploy else []),
stdout=fp, stderr=fp)
# Create webpack bundle
run(['./tools/webpack'], stdout=fp, stderr=fp)
# Copy the KaTeX files outside node_modules
os.makedirs(os.path.join(settings.STATIC_ROOT, 'node_modules/katex/dist/'),
@@ -90,16 +89,9 @@ if not settings.PRODUCTION:
# Compile translation strings to generate `.mo` files.
run(['./manage.py', 'compilemessages'], stdout=fp, stderr=fp)
# Move the source maps out of the serve/ directory and into their
# proper place.
if os.path.exists('prod-static/source-map'):
shutil.rmtree('prod-static/source-map')
# Needed if PRODUCTION
os.makedirs('prod-static', exist_ok=True)
shutil.move(os.path.join(settings.STATIC_ROOT, 'source-map'), 'prod-static/source-map')
# Generate /team page markdown for authors
authors_cmd = ['./tools/update-authors-json']
if os.environ.get("TRAVIS"):