Синтаксис команд скрипта

This commit is contained in:
Andrei Astafev 2022-01-28 10:57:41 +03:00
parent 5f8922409e
commit 92dc9a01ad

View File

@ -102,11 +102,10 @@ variables:
image: focal-dev image: focal-dev
tags: ['format'] tags: ['format']
script: script:
- > - mkdir build
mkdir build - cd build
cd build - cmake ..
cmake .. - cmake --build . --target check-format-sources
cmake --build . --target check-format-sources
.myx-cmake-format-sources-check: .myx-cmake-format-sources-check:
variables: variables:
@ -114,11 +113,10 @@ variables:
image: focal-dev image: focal-dev
tags: ['format'] tags: ['format']
script: script:
- > - mkdir build
mkdir build - cd build
cd build - cmake ..
cmake .. - cmake --build . --target myx-cmake-format-sources-check
cmake --build . --target myx-cmake-format-sources-check
.format-sources-check-custom: .format-sources-check-custom:
variables: variables: