<commit_before># This file is a template, and might need editing before it works on your project.
# Official docker image.

variables:
  GIT_SUBMODULE_STRATEGY: "normal"
  IS_FXSERVER: "1"

stages:
  - prep
  - build
  - test
  - deploy

prep-linux:
  variables:
    BOOST_ROOT: "$CI_PROJECT_DIR\\libs\\boost_1_64_0"
  artifacts:
    paths:
    - fivem/code/bin
    untracked: true
  image: alpine:latest
  stage: prep
  variables:
      GIT_STRATEGY: clone
  script:
    docker ps
  tags:
  - docker
build:
  stage: build
  tags:
    - win32
  cache:
    paths:
      - save\*
  before_script:
    - cmd /c "git clone `"https://github.com/citizenfx/fivem.git`" work"
    - ."$env:CI_PROJECT_DIR\Build-Scripts\scripts\fxs-components\componentLinker.ps1" -WorkDir "$env:CI_PROJECT_DIR\work" -SrcDir "$env:CI_PROJECT_DIR\."
    - cd work
  script:
    - ."$env:CI_PROJECT_DIR\Build-Scripts\scripts\fxs-components\FiveM.ps1" -WorkDir "$env:CI_PROJECT_DIR\work" -SaveDir "$env:CI_PROJECT_DIR\save"

  artifacts:
    paths:
    - save\bin
    - work\out
docs:
  tags:
    - win32
  stage: build
  script:
    - cd docs\slate
    - bundle install
    - bundle exec middleman build
    - cp -recurse -force build\*  C:\www\docs\fxs_web
  artifacts:
    paths:
    - docs\slate\build
deploy-docs:
  tags:
    - win32
  stage: deploy
  script:
    - echo "test"
  dependencies:
    - docs
deploy:
  tags:
    - win32
  when: manual
  stage: deploy
  script:
    - stop-service fxserver-gitlab
    - 7z x -y -o"$env:DEPLOY_PATH" $env:CI_PROJECT_DIR\work\out\server.zip
    - start-service fxserver-gitlab<commit_msg>another build update<commit_after># This file is a template, and might need editing before it works on your project.
# Official docker image.

variables:
  GIT_SUBMODULE_STRATEGY: "normal"
  IS_FXSERVER: "1"

stages:
  - prep
  - build
  - test
  - deploy

prep-linux:
  variables:
    BOOST_ROOT: "$CI_PROJECT_DIR\\libs\\boost_1_64_0"
  artifacts:
    paths:
    - fivem/code/bin
    untracked: true
  image: alpine:latest
  stage: prep
  variables:
      GIT_STRATEGY: clone
  script:
    docker ps
  tags:
  - docker
build:
  stage: build
  tags:
    - win32
  cache:
    paths:
      - save\*
  before_script:
    - cmd /c "git clone `"https://github.com/citizenfx/fivem.git`" work"
    - ."$env:CI_PROJECT_DIR\Build-Scripts\scripts\fxs-components\componentLinker.ps1" -WorkDir "$env:CI_PROJECT_DIR\work" -SrcDir "$env:CI_PROJECT_DIR\."
    - cd work
  script:
    - ."$env:CI_PROJECT_DIR\Build-Scripts\scripts\fxs-components\FiveM.ps1" -WorkDir "$env:CI_PROJECT_DIR\work" -SaveDir "$env:CI_PROJECT_DIR\save"

  artifacts:
    paths:
    - save\bin
    - work\out
docs:
  tags:
    - win32
  stage: build
  script:
    - cd docs\slate
    - bundle install
    - bundle exec middleman build
  artifacts:
    paths:
    - docs\slate\build
deploy-docs:
  tags:
    - win32
  stage: deploy
  script:
    - echo "test"
  dependencies:
    - docs
    - cp -recurse -force build\*  C:\www\docs\fxs_web

deploy:
  tags:
    - win32
  when: manual
  stage: deploy
  script:
    - stop-service fxserver-gitlab
    - 7z x -y -o"$env:DEPLOY_PATH" $env:CI_PROJECT_DIR\work\out\server.zip
    - start-service fxserver-gitlab
  dependencies:
    - build
{'fraction_non_alphanumeric': 0.11637931034482758, 'fraction_numerical': 0.009852216748768473, 'mean_word_length': 2.61804008908686, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '3459629', 'n_tokens_mistral': 1285, 'n_tokens_neox': 1235, 'n_words': 265}