<commit_before>import qbs

CppApplication {
    type: "application" // To suppress bundle generation on Mac
    consoleApplication: true
    files: [
        "main.cpp",
        "src/engine/instruction.cpp",
        "src/engine/instruction.h",
        "src/engine/label.cpp",
        "src/engine/label.h",
        "src/parser/parser.cpp",
        "src/parser/parser.h",
        "src/parser/scanner.cpp",
        "src/parser/scanner.h",
        "src/parser/token.cpp",
        "src/parser/token.h",
    ]

    cpp.cxxFlags:"-std=c++11"

    Group {     // Properties for the produced executable
        fileTagsFilter: product.type
        qbs.install: true
    }
}
<commit_msg>自动拷贝脚本到执行路径<commit_after>import qbs

CppApplication {
    type: "application" // To suppress bundle generation on Mac
    consoleApplication: true
    files: [
        "main.cpp",
        "src/engine/instruction.cpp",
        "src/engine/instruction.h",
        "src/engine/label.cpp",
        "src/engine/label.h",
        "src/parser/parser.cpp",
        "src/parser/parser.h",
        "src/parser/scanner.cpp",
        "src/parser/scanner.h",
        "src/parser/token.cpp",
        "src/parser/token.h",
    ]

    cpp.cxxFlags:"-std=c++11"

    Group {     // Properties for the produced executable
        fileTagsFilter: product.type
        qbs.install: true
    }

    // 再编译的时候，会把文件丢到指定的路径
    Group {
        name: "Runtime resources"
        files: [
            "test/*"
        ]
        qbs.install: true
        // 不指明的话，就丢到启动路径下
        // qbs.installDir: "test"
    }

}

{'fraction_non_alphanumeric': 0.13665389527458494, 'fraction_numerical': 0.002554278416347382, 'mean_word_length': 1.8647166361974405, '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': '4561966', 'n_tokens_mistral': 540, 'n_tokens_neox': 540, 'n_words': 84}