version: "{build}"

platform:
  - x86
  - x64

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

init:
  - git config --global core.autocrlf input

# Only build if commit message contains '[build]'
only_commits:
  message: /\[build\]/

install:
  - set /p NODE_VERSION=<.node-version
  - ps: Install-Product node $env:NODE_VERSION $env:PLATFORM
  - npm install npm -g
  - npm install electron-builder@next -g
  - npm install --production
  - npm prune

build_script:
  - node --version
  - npm --version
  - build -w --x64 --ia32

# Post-install test scripts.
# test_script:
#   - script\test.cmd
test: off
version: "{build}"

platform:
  - x86
  - x64

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

init:
  - git config --global core.autocrlf input

# Only build if commit message contains '[build]'
only_commits:
  message: /\[build\]/

install:
  - set /p NODE_VERSION=<.node-version
  - ps: Install-Product node $env:NODE_VERSION $env:PLATFORM
  - npm install npm -g
install:
  - set NODE_ENV=production
  - ps: Install-Product node 6.3.0 x64
  - git reset --hard HEAD
  - npm install npm -g
  - npm install electron-builder@next -g
  - npm install --production
  - npm prune

build_script:
  - node --version
  - npm --version
  - build -w --x64 --ia32

# Post-install test scripts.
# test_script:
#   - script\test.cmd
test: off
Revert "Crypter 3.0.0 release [build]"
Revert "Crypter 3.0.0 release [build]"

This reverts commit 7fd1e825201259ef01b58a0268d290c37bfc78a1.
