<commit_before>TEMPDIR?=/tmp/fake4swift.dst
PREFIX?=/usr/local

FRAMEWORKS_FOLDER=/Library/Frameworks
BINARIES_FOLDER=/usr/local/bin

OUTPUT_FRAMEWORK=Fake4SwiftKit.framework

BUILT_BUNDLE=$(TEMPDIR)/bin/fake4swift.app
BUNDLED_FRAMEWORKS=$(BUILT_BUNDLE)/Contents/Frameworks/*.framework
FAKE4SWIFT_EXECUTABLE=$(BUILT_BUNDLE)/Contents/MacOS/fake4swift

XCODEFLAGS=-project 'Fake4Swift.xcodeproj' -scheme 'fake4swift' DSTROOT=$(TEMPDIR)

clean:
	rm -rf $(TEMPDIR)

carthage_bootstrap:
	carthage bootstrap --platform mac

prefix_install: clean carthage_bootstrap
	xcodebuild $(XCODEFLAGS) install
	mkdir -p "$(TEMPDIR)$(FRAMEWORKS_FOLDER)" "$(TEMPDIR)$(BINARIES_FOLDER)"
	mv -f $(BUNDLED_FRAMEWORKS) $(TEMPDIR)$(FRAMEWORKS_FOLDER)
	mv -f "$(FAKE4SWIFT_EXECUTABLE)" "$(TEMPDIR)$(BINARIES_FOLDER)/fake4swift"
	rm -rf "$(BUILT_BUNDLE)"
	mkdir -p "$(PREFIX)/Frameworks" "$(PREFIX)/bin"
	cp -Rf $(TEMPDIR)$(FRAMEWORKS_FOLDER)/*.framework "$(PREFIX)/Frameworks/"
	cp -f "$(TEMPDIR)$(BINARIES_FOLDER)/fake4swift" "$(PREFIX)/bin/"
	# install_name_tool -add_rpath "@executable_path/../Frameworks/$(OUTPUT_FRAMEWORK)/Versions/Current/Frameworks/"  "$(PREFIX)/bin/fake4swift"
<commit_msg>Remove unused step in install task<commit_after>TEMPDIR?=/tmp/fake4swift.dst
PREFIX?=/usr/local

FRAMEWORKS_FOLDER=/Library/Frameworks
BINARIES_FOLDER=/usr/local/bin

OUTPUT_FRAMEWORK=Fake4SwiftKit.framework

BUILT_BUNDLE=$(TEMPDIR)/bin/fake4swift.app
BUNDLED_FRAMEWORKS=$(BUILT_BUNDLE)/Contents/Frameworks/*.framework
FAKE4SWIFT_EXECUTABLE=$(BUILT_BUNDLE)/Contents/MacOS/fake4swift

XCODEFLAGS=-project 'Fake4Swift.xcodeproj' -scheme 'fake4swift' DSTROOT=$(TEMPDIR)

clean:
	rm -rf $(TEMPDIR)

carthage_bootstrap:
	carthage bootstrap --platform mac

prefix_install: clean carthage_bootstrap
	xcodebuild $(XCODEFLAGS) install
	mkdir -p "$(TEMPDIR)$(FRAMEWORKS_FOLDER)" "$(TEMPDIR)$(BINARIES_FOLDER)"
	mv -f $(BUNDLED_FRAMEWORKS) $(TEMPDIR)$(FRAMEWORKS_FOLDER)
	mv -f "$(FAKE4SWIFT_EXECUTABLE)" "$(TEMPDIR)$(BINARIES_FOLDER)/fake4swift"
	rm -rf "$(BUILT_BUNDLE)"
	mkdir -p "$(PREFIX)/Frameworks" "$(PREFIX)/bin"
	cp -Rf $(TEMPDIR)$(FRAMEWORKS_FOLDER)/*.framework "$(PREFIX)/Frameworks/"
	cp -f "$(TEMPDIR)$(BINARIES_FOLDER)/fake4swift" "$(PREFIX)/bin/"

{'fraction_non_alphanumeric': 0.15730337078651685, 'fraction_numerical': 0.00943820224719101, 'mean_word_length': 7.66147859922179, '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': '4161798', 'n_tokens_mistral': 903, 'n_tokens_neox': 885, 'n_words': 119}