<commit_before>#!/bin/sh

## Generate clean type definitions
haxe --macro 'ElectronAPI.generate("electron-api.json","src",true)'

## Build haxedoc.xml
haxe haxedoc.hxml

## Build demo application (test wise)
haxe --cwd demo build.hxml

## Create zip
rm -f electron.zip
zip -r electron.zip src/ ElectronAPI.hx electron-api.json haxedoc.xml haxelib.json LICENSE README.md -x "*/\.*"

## Release haxelib
haxelib submit electron.zip<commit_msg>Add api.hxml to haxelib releases<commit_after>#!/bin/sh

## Generate clean type definitions
haxe --macro 'ElectronAPI.generate("electron-api.json","src",true)'

## Build haxedoc.xml
haxe haxedoc.hxml

## Build demo application (test wise)
haxe --cwd demo build.hxml

## Create zip
rm -f electron.zip
zip -r electron.zip src/ api.hxml ElectronAPI.hx electron-api.json haxedoc.xml haxelib.json LICENSE README.md -x "*/\.*"

## Release haxelib
haxelib submit electron.zip
{'fraction_non_alphanumeric': 0.13215859030837004, 'fraction_numerical': 0.0, 'mean_word_length': 4.410714285714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, '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': '2695791', 'n_tokens_mistral': 341, 'n_tokens_neox': 326, 'n_words': 88}