<commit_before>BROWSERIFY = ./node_modules/.bin/browserify
UGLIFYJS = ./node_modules/.bin/uglifyjs
EXORCIST = ./node_modules/.bin/exorcist
GLOBAL_FLAGS =
OUTPUT_DIR = .
DEPLOY_DIR = ../../jitsi-meet

all: compile uglify deploy

compile:FLAGS = $(GLOBAL_FLAGS)
compile: app

debug: compile-debug source-maps uglify-debug deploy

compile-debug:FLAGS = -d $(GLOBAL_FLAGS)
compile-debug: app

app:
	$(BROWSERIFY) $(FLAGS) JitsiMeetJS.js -s JitsiMeetJS -o $(OUTPUT_DIR)/lib-jitsi-meet.js

source-maps:
	cat $(OUTPUT_DIR)/lib-jitsi-meet.js | $(EXORCIST) $(OUTPUT_DIR)/lib-jitsi-meet.js.map

uglify:SOURCE_MAPS=
uglify:
	$(UGLIFYJS) -p relative $(OUTPUT_DIR)/lib-jitsi-meet.js -o $(OUTPUT_DIR)/lib-jitsi-meet.min.js $(SOURCE_MAPS)

uglify-debug:SOURCE_MAPS=--source-map $(OUTPUT_DIR)/lib-jitsi-meet.min.map --in-source-map $(OUTPUT_DIR)/lib-jitsi-meet.js.map
uglify-debug: uglify

clean:
	rm -f $(OUTPUT_DIR)/lib-jitsi-meet.js

deploy:
	mkdir -p $(DEPLOY_DIR) && \
	cp $(OUTPUT_DIR)/lib-jitsi-meet.js $(DEPLOY_DIR) && \
	([ ! -x deploy-local.sh ] || ./deploy-local.sh)<commit_msg>Updates dependencies on make.<commit_after>NPM = npm
BROWSERIFY = ./node_modules/.bin/browserify
UGLIFYJS = ./node_modules/.bin/uglifyjs
EXORCIST = ./node_modules/.bin/exorcist
GLOBAL_FLAGS =
OUTPUT_DIR = .
DEPLOY_DIR = ../../jitsi-meet

all: update-deps compile uglify deploy

compile:FLAGS = $(GLOBAL_FLAGS)
compile: app

debug: compile-debug source-maps uglify-debug deploy

compile-debug:FLAGS = -d $(GLOBAL_FLAGS)
compile-debug: app

update-deps:
	$(NPM) update

app:
	$(BROWSERIFY) $(FLAGS) JitsiMeetJS.js -s JitsiMeetJS -o $(OUTPUT_DIR)/lib-jitsi-meet.js

source-maps:
	cat $(OUTPUT_DIR)/lib-jitsi-meet.js | $(EXORCIST) $(OUTPUT_DIR)/lib-jitsi-meet.js.map

uglify:SOURCE_MAPS=
uglify:
	$(UGLIFYJS) -p relative $(OUTPUT_DIR)/lib-jitsi-meet.js -o $(OUTPUT_DIR)/lib-jitsi-meet.min.js $(SOURCE_MAPS)

uglify-debug:SOURCE_MAPS=--source-map $(OUTPUT_DIR)/lib-jitsi-meet.min.map --in-source-map $(OUTPUT_DIR)/lib-jitsi-meet.js.map
uglify-debug: uglify

clean:
	rm -f $(OUTPUT_DIR)/lib-jitsi-meet.js

deploy:
	mkdir -p $(DEPLOY_DIR) && \
	cp $(OUTPUT_DIR)/lib-jitsi-meet.js $(DEPLOY_DIR) && \
	([ ! -x deploy-local.sh ] || ./deploy-local.sh)
{'fraction_non_alphanumeric': 0.1735201084500678, 'fraction_numerical': 0.0, 'mean_word_length': 4.3478260869565215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3028904', 'n_tokens_mistral': 969, 'n_tokens_neox': 928, 'n_words': 148}