<commit_before>BACKUP_DIR = backup
MYSQL_BACKUP_FILE = database.sql.bz2

all: deploy

clean:
	test -d htdocs/typo3temp && { rm -rf htdocs/typo3temp/*; }

mysql-backup:
	test -d "$(BACKUP_DIR)" && { docker-compose run typo3 mysqldump --opt typo3 | bzip2 > $(BACKUP_DIR)/$(MYSQL_BACKUP_FILE); }

mysql-restore:
	test -s "$(BACKUP_DIR)/$(MYSQL_BACKUP_FILE)" && { bzcat $(BACKUP_DIR)/$(MYSQL_BACKUP_FILE) | docker-compose run typo3 mysql typo3; }

deploy:
	bash bin/deploy.sh

create-project:
	bash bin/create-project.sh

scheduler:
	docker-compose run --rm typo3 typo3/cli_dispatch.phpsh scheduler<commit_msg>Fixed makefile<commit_after>BACKUP_DIR = backup
MYSQL_BACKUP_FILE = database.sql.bz2

all: deploy

clean:
	test -d htdocs/typo3temp && { rm -rf htdocs/typo3temp/*; }

mysql-backup:
	test -d "$(BACKUP_DIR)" && { docker-compose run typo3 mysqldump --opt typo3 | bzip2 > "$(BACKUP_DIR)/$(MYSQL_BACKUP_FILE)"; }

mysql-restore:
	test -s "$(BACKUP_DIR)/$(MYSQL_BACKUP_FILE)" && { bzcat "$(BACKUP_DIR)/$(MYSQL_BACKUP_FILE)" | docker-compose run typo3 mysql typo3; }

deploy:
	bash bin/deploy.sh

create-cms-project:
	bash bin/create-cms-project.sh

scheduler:
	docker-compose run --rm typo3 typo3/cli_dispatch.phpsh scheduler
{'fraction_non_alphanumeric': 0.1436734693877551, 'fraction_numerical': 0.0163265306122449, 'mean_word_length': 4.783018867924528, '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': '2505994', 'n_tokens_mistral': 522, 'n_tokens_neox': 499, 'n_words': 98}