mirror of https://github.com/zulip/zulip.git
run-dev: Remove old node_modules/.bin/handlebars deletion hack.
This hack saved a lot of time debugging weird issues back in 2016, but it's no longer needed. Anyone rebasing a branch from 2016 will need to provision afterwards regardless, which will fix this issue automatically, and more importantly, these changes were made obsolete when we moved to the cached `node_modules` model.
This commit is contained in:
parent
1a51bcd2df
commit
0970fb1a8f
|
@ -143,12 +143,6 @@ os.chdir(os.path.join(os.path.dirname(__file__), '..'))
|
|||
# Clean up stale .pyc files etc.
|
||||
subprocess.check_call('./tools/clean-repo')
|
||||
|
||||
# HACK to fix up node_modules/.bin/handlebars deletion issue
|
||||
if not os.path.exists("node_modules/.bin/handlebars") and os.path.exists("node_modules/handlebars"):
|
||||
print("Handlebars binary missing due to rebase past .gitignore fixup; fixing...")
|
||||
subprocess.check_call(["rm", "-rf", "node_modules/handlebars"])
|
||||
subprocess.check_call(["npm", "install"])
|
||||
|
||||
if options.clear_memcached:
|
||||
print("Clearing memcached ...")
|
||||
subprocess.check_call('./scripts/setup/flush-memcached')
|
||||
|
|
Loading…
Reference in New Issue