<commit_before>KONG_HOME = `pwd`

# Dev environment variables
export DEV_DIR ?= $(KONG_HOME)/dev
export TEST_DIR ?= $(KONG_HOME)/test
export KONG_CONF ?= $(DEV_DIR)/kong-dev.yaml
export DEV_LUA_LIB ?= lua_package_path \"$(KONG_HOME)/src/?.lua\;\;\"\;

.PHONY: install dev clean reset seed drop test test-integration test-web test-proxy test-all

install:
	@luarocks make kong-*.rockspec PCRE_LIBDIR=$(dirname `find / -type f -name "libpcre.so*" -print -quit`) OPENSSL_LIBDIR=$(dirname `find / -type f -name "libssl.so*" -print -quit`)

dev:
	@mkdir -p $(DEV_DIR)
	@sed -e "s@lua_package_path.*;@$(DEV_LUA_LIB)@g" $(KONG_HOME)/conf/nginx.conf > $(DEV_DIR)/nginx-dev.conf
	@cp $(KONG_HOME)/conf/kong.yaml $(DEV_DIR)/kong-dev.yaml

clean:
	@rm -rf $(DEV_DIR)

reset:
	@scripts/migrate reset --conf=$(KONG_CONF)

seed:
	@scripts/seed seed --conf=$(KONG_CONF)

drop:
	@scripts/seed drop --conf=$(KONG_CONF)

test:
	@busted spec/unit
<commit_msg>fixing makefile<commit_after>KONG_HOME = `pwd`

# Dev environment variables
export DEV_DIR ?= $(KONG_HOME)/dev
export TEST_DIR ?= $(KONG_HOME)/test
export KONG_CONF ?= $(DEV_DIR)/kong-dev.yaml
export DEV_LUA_LIB ?= lua_package_path \"$(KONG_HOME)/src/?.lua\;\;\"\;

.PHONY: install dev clean reset seed drop test test-integration test-web test-proxy test-all

install:
	@luarocks make kong-*.rockspec PCRE_LIBDIR=`find / -type f -name "libpcre.so*" -print -quit | xargs dirname` OPENSSL_LIBDIR=`find / -type f -name "libssl.so*" -print -quit | xargs dirname`

dev:
	@mkdir -p $(DEV_DIR)
	@sed -e "s@lua_package_path.*;@$(DEV_LUA_LIB)@g" $(KONG_HOME)/conf/nginx.conf > $(DEV_DIR)/nginx-dev.conf
	@cp $(KONG_HOME)/conf/kong.yaml $(DEV_DIR)/kong-dev.yaml

clean:
	@rm -rf $(DEV_DIR)

reset:
	@scripts/migrate reset --conf=$(KONG_CONF)

seed:
	@scripts/seed seed --conf=$(KONG_CONF)

drop:
	@scripts/seed drop --conf=$(KONG_CONF)

test:
	@busted spec/unit

{'fraction_non_alphanumeric': 0.17547568710359407, 'fraction_numerical': 0.0, 'mean_word_length': 4.600591715976331, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6751121', 'n_tokens_mistral': 782, 'n_tokens_neox': 763, 'n_words': 165}