<commit_before># http://www.appveyor.com/docs/appveyor-yml

version: "{build}-{branch}"

cache:
  - '%APPDATA%\npm-cache'
  - '%USERPROFILE%\.electron'

init:
  - git --version
  - git config --global core.autocrlf false
  - git config --global user.name "AppVeyor"
  - git config --global user.email "<EMAIL>"
  - go version
  - go env

environment:
  matrix:
  - nodejs_version: "4"
  - nodejs_version: "5"
  global:
    GOPATH: c:\gopath
    GITHUB_TOKEN:
      secure: <KEY>

platform:
  - x64

matrix:
  # Enable fast fail strategy 
  fast_finish: true

install:
  - set PATH=%GOPATH%\bin;%PATH%
  - go get github.com/cheton/github-release
  - github-release --version
  - ps: Install-Product node $env:nodejs_version $env:platform
  - npm install -g npm
  - npm install

build_script:
  - node --version
  - npm --version
  - npm run build
  - npm run electron-packager:win32-x64

deploy_script:
  - ps: >-
      If ($env:nodejs_version -eq '5') {
        pushd output
        7z a -r cncjs-win32-x64.zip cncjs-win32-x64 > NUL
        popd
        bash -c 'scripts/appveyor-release-win32-x64.sh'
      }

test: off

# Packaging artifacts
# https://www.appveyor.com/docs/packaging-artifacts
artifacts:
  - path: output/cncjs-win32-x64.zip
    name: cncjs-win32-x64
    type: zip

# Publishing artifacts to GitHub Releases
# https://www.appveyor.com/docs/deployment/github
deploy:
  provider: GitHub
  auth_token:
    secure: <KEY>
  artifact: cncjs-win32-x64
  draft: false
  prerelease: false
  on:
    branch: master                 # release from master branch only
    appveyor_repo_tag: true        # deploy on tag push only
<commit_msg>Fix an error of "Redirection to NUL failed"<commit_after># http://www.appveyor.com/docs/appveyor-yml

version: "{build}-{branch}"

cache:
  - '%APPDATA%\npm-cache'
  - '%USERPROFILE%\.electron'

init:
  - git --version
  - git config --global core.autocrlf false
  - git config --global user.name "AppVeyor"
  - git config --global user.email "<EMAIL>"
  - go version
  - go env

environment:
  matrix:
  - nodejs_version: "4"
  - nodejs_version: "5"
  global:
    GOPATH: c:\gopath
    GITHUB_TOKEN:
      secure: <KEY>

platform:
  - x64

matrix:
  # Enable fast fail strategy 
  fast_finish: true

install:
  - set PATH=%GOPATH%\bin;%PATH%
  - go get github.com/cheton/github-release
  - github-release --version
  - ps: Install-Product node $env:nodejs_version $env:platform
  - npm install -g npm
  - npm install

build_script:
  - node --version
  - npm --version
  - npm run build
  - npm run electron-packager:win32-x64

deploy_script:
  - ps: >-
      If ($env:nodejs_version -eq '5') {
        pushd output
        7z a -r cncjs-win32-x64.zip cncjs-win32-x64
        popd
        bash -c 'scripts/appveyor-release-win32-x64.sh'
      }

test: off

# Packaging artifacts
# https://www.appveyor.com/docs/packaging-artifacts
artifacts:
  - path: output/cncjs-win32-x64.zip
    name: cncjs-win32-x64
    type: zip

# Publishing artifacts to GitHub Releases
# https://www.appveyor.com/docs/deployment/github
deploy:
  provider: GitHub
  auth_token:
    secure: <KEY>
  artifact: cncjs-win32-x64
  draft: false
  prerelease: false
  on:
    branch: master                 # release from master branch only
    appveyor_repo_tag: true        # deploy on tag push only

{'fraction_non_alphanumeric': 0.12025316455696203, 'fraction_numerical': 0.020494273658830622, 'mean_word_length': 2.6154684095860565, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 12, 'https://': 4, 'lorem ipsum': 0, 'www.': 6, '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': '4756008', 'n_tokens_mistral': 1283, 'n_tokens_neox': 1202, 'n_words': 292}