mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-05 03:00:15 -04:00
Cleanup mangled files completely.
Static file mangling now renames files to their mangled form and symlinks the original name. This cleanup rule deleted only the mangled names, leaving broken symlinks. The quick'n'dirty solution is to clear out all of the mangled and unmangled filenames so we don't leave things in an inconsistent state.
This commit is contained in:
@@ -173,7 +173,7 @@ $(MANGLE_BUILDSTAMP): $(MANGLEABLE_FILES)
|
||||
touch $@
|
||||
|
||||
clean_names:
|
||||
rm -f $(MANGLE_BUILDSTAMP) $(NAMES_FILES) $(MANGLED_FILES)
|
||||
rm -f $(MANGLE_BUILDSTAMP) $(NAMES_FILES) $(MANGLEABLE_FILES) $(MANGLED_FILES) $(JS_MODULE_BUILDSTAMPS)
|
||||
|
||||
#### gzip!
|
||||
GZIPPABLE := $(filter %.css %.js,$(MANGLED_FILES) $(STATIC_DIR)/js/lib/jquery.js)
|
||||
|
||||
Reference in New Issue
Block a user