# production builds on master branch
-
  branches:
    only:
      - master
  
  version: 1.{build}
  
  # clone directory
  clone_folder: c:\samp
  
  # install (after repo cloning)
  install:
    - git submodule update -q --init --recursive
  build_script:
    - cmd: cd c:\samp\bin && compile.bat
  
  # deploy script to your server after it has been built
  deploy:
    - provider: FTP
      server:
      username:
      password:
      folder:
      enable_ssl: false
      active_mode: false
      artifact:
      application:

# other branches are executed in the development environment
-
  version: 1.{build}
  
  # clone directory
  clone_folder: c:\samp
  
  # install (after repo cloning)
  install:
    - git submodule update -q --init --recursive
  build_script:
    - cmd: cd c:\samp\bin && compile.bat
# production builds on master branch
-
  branches:
    only:
      - master
  
  version: 1.{build}
  
  # clone directory
  clone_folder: c:\samp
  
  # install (after repo cloning)
  install:
    - git submodule update -q --init --recursive
    - ps: Install-Product node "0.10"
    - git clone -q https://github.com/Pyrax/node-pawn-scanner.git c:\tools\scanner
  build_script:
    - cd c:\samp\bin && compile.bat
  after_build:
    - cd c:\samp\src && node "c:\tools\scanner\bin\scan-dir.js" "gamemodes" && node "c:\tools\scanner\bin\scan-dir.js" "filterscripts"
  
  artifacts:
    - path: c:\samp\bin\server
      name: server-files
    - path: c:\tools\scanner\web
      name: web-files
  # deploy script to your server after it has been built
  deploy:
    - provider: FTP
      server:
      username:
      password:
      folder:
      enable_ssl: false
      artifact: server-files
      
    - provider: FTP
      server:
      username:
      password:
      folder:
      enable_ssl: false
      artifact: web-files

# other branches are executed in the development environment
-
  version: 1.{build}
  
  # clone directory
  clone_folder: c:\samp
  
  # install (after repo cloning)
  install:
    - git submodule update -q --init --recursive
  build_script:
    - cd c:\samp\bin && compile.bat
Add code scanner with deployment option for related web-files
Add code scanner with deployment option for related web-files
