<commit_before>VERSION := $(shell git describe --tags --always --dirty="-dev")
DATE := $(shell date -u '+%Y-%m-%d-%H%M UTC')
Q := $(if $(VERBOSE),,@)
M = $(shell printf "\033[34;1m▶\033[0m")

all: build

clean: clean_ivi_core clean_ivi_events clean_ivi_html clean_ivi_svg clean_ivi

build: build_ivi_core build_ivi_events build_ivi_html build_ivi_svg build_ivi

changelog:
	conventional-changelog -p angular -i CHANGELOG.md -s ; $(info $(M) generating CHANGELOG.md)

# ivi-core
clean_ivi_core: ; $(info $(M) cleaning ivi-core)
	$Q cd packages/ivi-core && yarn clean

build_ivi_core: clean_ivi_core ; $(info $(M) building ivi-core)
	$Q cd packages/ivi-core && yarn dist

# ivi-scheduler
clean_ivi_scheduler: ; $(info $(M) cleaning ivi-scheduler)
	$Q cd packages/ivi-scheduler && yarn clean

build_ivi_scheduler: clean_ivi_scheduler build_ivi_core ; $(info $(M) building ivi-scheduler)
	$Q cd packages/ivi-scheduler && yarn dist

# ivi-events
clean_ivi_events: ; $(info $(M) cleaning ivi-events)
	$Q cd packages/ivi-events && yarn clean

build_ivi_events: clean_ivi_events build_ivi_core build_ivi_scheduler ; $(info $(M) building ivi-events)
	$Q cd packages/ivi-events && yarn dist

# ivi-html
clean_ivi_html: ; $(info $(M) cleaning ivi-html)
	$Q cd packages/ivi-html && yarn clean

build_ivi_html: clean_ivi_html build_ivi ; $(info $(M) building ivi-html)
	$Q cd packages/ivi-html && yarn dist

# ivi-svg
clean_ivi_svg: ; $(info $(M) cleaning ivi-svg)
	$Q cd packages/ivi-svg && yarn clean

build_ivi_svg: clean_ivi_svg build_ivi ; $(info $(M) building ivi-svg)
	$Q cd packages/ivi-svg && yarn dist

# ivi-events
clean_ivi: ; $(info $(M) cleaning ivi)
	$Q cd packages/ivi && yarn clean

build_ivi: clean_ivi build_ivi_core build_ivi_scheduler build_ivi_events ; $(info $(M) building ivi)
	$Q cd packages/ivi && yarn dist
<commit_msg>chore(make): add build rules for ivi-state package<commit_after>VERSION := $(shell git describe --tags --always --dirty="-dev")
DATE := $(shell date -u '+%Y-%m-%d-%H%M UTC')
Q := $(if $(VERBOSE),,@)
M = $(shell printf "\033[34;1m▶\033[0m")

all: build

clean: clean_ivi_core clean_ivi_events clean_ivi_html clean_ivi_svg clean_ivi clean_ivi_state

build: build_ivi_core build_ivi_events build_ivi_html build_ivi_svg build_ivi build_ivi_state

changelog:
	conventional-changelog -p angular -i CHANGELOG.md -s ; $(info $(M) generating CHANGELOG.md)

# ivi-core
clean_ivi_core: ; $(info $(M) cleaning ivi-core)
	$Q cd packages/ivi-core && yarn clean

build_ivi_core: clean_ivi_core ; $(info $(M) building ivi-core)
	$Q cd packages/ivi-core && yarn dist

# ivi-scheduler
clean_ivi_scheduler: ; $(info $(M) cleaning ivi-scheduler)
	$Q cd packages/ivi-scheduler && yarn clean

build_ivi_scheduler: clean_ivi_scheduler build_ivi_core ; $(info $(M) building ivi-scheduler)
	$Q cd packages/ivi-scheduler && yarn dist

# ivi-events
clean_ivi_events: ; $(info $(M) cleaning ivi-events)
	$Q cd packages/ivi-events && yarn clean

build_ivi_events: clean_ivi_events build_ivi_core build_ivi_scheduler ; $(info $(M) building ivi-events)
	$Q cd packages/ivi-events && yarn dist

# ivi-html
clean_ivi_html: ; $(info $(M) cleaning ivi-html)
	$Q cd packages/ivi-html && yarn clean

build_ivi_html: clean_ivi_html build_ivi ; $(info $(M) building ivi-html)
	$Q cd packages/ivi-html && yarn dist

# ivi-svg
clean_ivi_svg: ; $(info $(M) cleaning ivi-svg)
	$Q cd packages/ivi-svg && yarn clean

build_ivi_svg: clean_ivi_svg build_ivi ; $(info $(M) building ivi-svg)
	$Q cd packages/ivi-svg && yarn dist

# ivi-events
clean_ivi: ; $(info $(M) cleaning ivi)
	$Q cd packages/ivi && yarn clean

build_ivi: clean_ivi build_ivi_core build_ivi_scheduler build_ivi_events ; $(info $(M) building ivi)
	$Q cd packages/ivi && yarn dist

# ivi-state
clean_ivi_state: ; $(info $(M) cleaning ivi-state)
	$Q cd packages/ivi-state && yarn clean

build_ivi_state: clean_ivi_state build_ivi_core ; $(info $(M) building ivi-state)
	$Q cd packages/ivi-state && yarn dist

{'fraction_non_alphanumeric': 0.13531936379702095, 'fraction_numerical': 0.005049229992426155, 'mean_word_length': 4.993948562783661, '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': '542850', 'n_tokens_mistral': 1490, 'n_tokens_neox': 1451, 'n_words': 401}