diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-03 21:47:48 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-03 21:47:51 +0200 |
commit | cce9ea25d243672b9f88b124eb56e4bf37adba4c (patch) | |
tree | 3079b0d73c273b027d520509422768941bf4671a /project | |
parent | project.cmake: require the build dir argument (diff) | |
download | cmake-common-cce9ea25d243672b9f88b124eb56e4bf37adba4c.tar.gz cmake-common-cce9ea25d243672b9f88b124eb56e4bf37adba4c.zip |
project.cmake.build -> project.build
Accordingly, rename cmake-build to project-build.
Diffstat (limited to 'project')
-rw-r--r-- | project/build.py (renamed from project/cmake/build.py) | 2 | ||||
-rw-r--r-- | project/ci/cmake.py | 2 | ||||
-rw-r--r-- | project/ci/dirs.py | 2 | ||||
-rw-r--r-- | project/cmake/__init__.py | 0 |
4 files changed, 3 insertions, 3 deletions
diff --git a/project/cmake/build.py b/project/build.py index ef4de1a..ff366c3 100644 --- a/project/cmake/build.py +++ b/project/build.py @@ -12,7 +12,7 @@ but written in bash and PowerShell, respectively). A simple usage example: - $ cmake-build --configuration Release --install path/to/somewhere -- examples/simple build/ + $ project-build --configuration Release --install path/to/somewhere -- examples/simple build/ ... $ ./path/to/somewhere/bin/foo diff --git a/project/ci/cmake.py b/project/ci/cmake.py index 13929f7..24fe34c 100644 --- a/project/ci/cmake.py +++ b/project/ci/cmake.py @@ -8,7 +8,7 @@ import os.path import sys from project.ci.dirs import Dirs -from project.cmake.build import BuildParameters, build +from project.build import BuildParameters, build from project.utils import setup_logging import project.version diff --git a/project/ci/dirs.py b/project/ci/dirs.py index eb4651b..6de9509 100644 --- a/project/ci/dirs.py +++ b/project/ci/dirs.py @@ -108,7 +108,7 @@ The supported CI systems are: {Dirs.join_ci_names()}. def get_cmake_help(): return f'''Build a CMake project during a CI run. -This is similar to running project.cmake.build, but auto-fills some parameters +This is similar to running project.build, but auto-fills some parameters from environment variables. The supported CI systems are: {Dirs.join_ci_names()}. diff --git a/project/cmake/__init__.py b/project/cmake/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/project/cmake/__init__.py +++ /dev/null |