<commit_before>.PHONY: test

PLASMACORE_ROGUE_SOURCE = $(shell find Source/Rogue | grep "\.rogue$$") $(shell find Source/Plasmacore/Rogue/Plasmacore | grep "\.rogue$$")

ROGUEC_OPTIONS  = Plasmacore
ROGUEC_OPTIONS += --target="C++,Mac"
ROGUEC_OPTIONS += --libraries="../Plasmacore/Rogue"
ROGUEC_OPTIONS += --output=Build/RogueProgram

all: compile_rogue

compile_rogue: Source/Rogue/Build/RogueProgram.cpp

Source/Rogue/Build/RogueProgram.cpp: $(PLASMACORE_ROGUE_SOURCE)
	mkdir -p Source/Rogue/Build
	cd Source/Rogue/ && roguec Main.rogue $(ROGUEC_OPTIONS)

remake:
	mkdir -p Source/Rogue/Build
	cd Source/Rogue/ && roguec Main.rogue $(ROGUEC_OPTIONS)

test:
	cd Test && roguec Test.rogue --target="Console,C++" --libraries="../Source/Plasmacore/Rogue" --execute

clean:
	rm -rf Source/Rogue/Build

pull:
	@# Run the local makefile if it exists
	@[ -f Local.mk ] && make -f Local.mk pull || true

update:
	@# Run the local makefile if it exists
	@[ -f Local.mk ] && make -f Local.mk update || true

status:
	@# Run the local makefile if it exists
	@[ -f Local.mk ] && make -f Local.mk status || true

#------------------------------------------------------------------------------
# Sample Local.mk file - do not commit to repo

#ABES_LIBS = ..
#
#status:
#	@printf "SuperCPP   - "
#	@cd $(ABES_LIBS)/SuperCPP && git status | grep "\(Your branch is\)\|\(Changes not staged\|Untracked files\)"
#	@printf "ImageIO    - "
#	@cd $(ABES_LIBS)/ImageIO && git status | grep "\(Your branch is\)\|\(Changes not staged\|Untracked files\)"
#	@printf "Starbright - "
#	@cd $(ABES_LIBS)/Starbright && git status | grep "\(Your branch is\)\|\(Changes not staged\|Untracked files\)"
#	@printf "Plasmacore - "
#	@git status | grep "\(Your branch is\)\|\(Changes not staged\|Untracked files\)"
#
#pull:
# cd $(ABES_LIBS)/SuperCPP && git pull
# cd $(ABES_LIBS)/ImageIO && git pull
# cd $(ABES_LIBS)/Starbright && git pull
#
#update:
# @rsync -a --exclude=".*" --delete --out-format="Updating %n%L" $(ABES_LIBS)/SuperCPP/Source/SuperCPP Source
# @rsync -a --exclude=".*" --delete --out-format="Updating %n%L" $(ABES_LIBS)/ImageIO/Source/ImageIO Source
# @rsync -a --exclude=".*" --delete --out-format="Updating %n%L" $(ABES_LIBS)/Starbright/Source/Starbright Source
<commit_msg>Updated sample Local.mk in Makefile.<commit_after>.PHONY: test

PLASMACORE_ROGUE_SOURCE = $(shell find Source/Rogue | grep "\.rogue$$") $(shell find Source/Plasmacore/Rogue/Plasmacore | grep "\.rogue$$")

ROGUEC_OPTIONS  = Plasmacore
ROGUEC_OPTIONS += --target="C++,Mac"
ROGUEC_OPTIONS += --libraries="../Plasmacore/Rogue"
ROGUEC_OPTIONS += --output=Build/RogueProgram

all: compile_rogue

compile_rogue: Source/Rogue/Build/RogueProgram.cpp

Source/Rogue/Build/RogueProgram.cpp: $(PLASMACORE_ROGUE_SOURCE)
	mkdir -p Source/Rogue/Build
	cd Source/Rogue/ && roguec Main.rogue $(ROGUEC_OPTIONS)

remake:
	mkdir -p Source/Rogue/Build
	cd Source/Rogue/ && roguec Main.rogue $(ROGUEC_OPTIONS)

test:
	cd Test && roguec Test.rogue --target="Console,C++" --libraries="../Source/Plasmacore/Rogue" --execute

clean:
	rm -rf Source/Rogue/Build

pull:
	@# Run the local makefile if it exists
	@[ -f Local.mk ] && make -f Local.mk pull || true

update:
	@# Run the local makefile if it exists
	@[ -f Local.mk ] && make -f Local.mk update || true

status:
	@# Run the local makefile if it exists
	@[ -f Local.mk ] && make -f Local.mk status || true

#------------------------------------------------------------------------------
# Sample Local.mk file - do not commit to repo
#
#ABES_LIBS = ..
#
#status:
#	@printf "Rogue      - "
#	@cd $(ABES_LIBS)/../Rogue && git status | grep "\(Your branch is\)\|\(Changes not staged\|Untracked files\)"
#	@printf "SuperCPP   - "
#	@cd $(ABES_LIBS)/SuperCPP && git status | grep "\(Your branch is\)\|\(Changes not staged\|Untracked files\)"
#	@printf "ImageIO    - "
#	@cd $(ABES_LIBS)/ImageIO && git status | grep "\(Your branch is\)\|\(Changes not staged\|Untracked files\)"
#	@printf "Starbright - "
#	@cd $(ABES_LIBS)/Starbright && git status | grep "\(Your branch is\)\|\(Changes not staged\|Untracked files\)"
#	@printf "Plasmacore - "
#	@cd $(ABES_LIBS)/GGBitmap && git status | grep "\(Your branch is\)\|\(Changes not staged\|Untracked files\)"
#	@printf "GGBitmap   - "
#	@git status | grep "\(Your branch is\)\|\(Changes not staged\|Untracked files\)"
#
#pull:
#	git pull
#	cd $(ABES_LIBS)/../Rogue && git pull && make
#	cd $(ABES_LIBS)/SuperCPP && git pull
#	cd $(ABES_LIBS)/ImageIO && git pull
#	cd $(ABES_LIBS)/Starbright && git pull
#	cd $(ABES_LIBS)/GGBitmap && git pull
#
#update:
#	@rsync -a --exclude=".*" --delete --out-format="Updating %n%L" $(ABES_LIBS)/SuperCPP/Source/SuperCPP Source
#	@rsync -a --exclude=".*" --delete --out-format="Updating %n%L" $(ABES_LIBS)/ImageIO/Source/ImageIO Source
#	@rsync -a --exclude=".*" --delete --out-format="Updating %n%L" $(ABES_LIBS)/Starbright/Source/Starbright Source
#	@rsync -a --exclude=".*" --delete --out-format="Updating %n%L" $(ABES_LIBS)/GGBitmap/Source/GGBitmap Source
#
{'fraction_non_alphanumeric': 0.20680732484076433, 'fraction_numerical': 0.0, 'mean_word_length': 3.4001751313485116, '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': '1280504', 'n_tokens_mistral': 1914, 'n_tokens_neox': 1846, 'n_words': 447}