<commit_before>//go:build ignore
// +build ignore

package main

import (
	"fmt"
	"io/ioutil"
	"os"
	"runtime"
)

func check(e error) {
	if e != nil {
		panic(e)
	}
}

func main() {
	if len(os.Args) == 3 {
		if os.Args[1] == "darwin" && runtime.GOOS == "darwin" {
			rawInfoPlistString := `<?xml version="1.0" encoding="UTF-8"?>
	<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
	<plist version="1.0">
	<dict>
		<key>CFBundleIdentifier</key>
		<string>io.github.micro-editor</string>
		<key>CFBundleName</key><commit_msg>Only run info plist on darwin<commit_after>//go:build ignore
// +build ignore

package main

import (
	"fmt"
	"io/ioutil"
	"os"
	"runtime"
)

func check(e error) {
	if e != nil {
		panic(e)
	}
}

func main() {
	if runtime.GOOS != "darwin" {
		return
	}
	if len(os.Args) == 3 {
		if os.Args[1] == "darwin" && runtime.GOOS == "darwin" {
			rawInfoPlistString := `<?xml version="1.0" encoding="UTF-8"?>
	<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
	<plist version="1.0">
	<dict>
		<key>CFBundleIdentifier</key>
		<string>io.github.micro-editor</string>
		<key>CFBundleName</key>
{'fraction_non_alphanumeric': 0.20430107526881722, 'fraction_numerical': 0.018196856906534328, 'mean_word_length': 3.6538461538461537, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 2, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '6395834', 'n_tokens_mistral': 545, 'n_tokens_neox': 501, 'n_words': 98}