Skip to content

Commit

Permalink
depends_on -> depends-on
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Jan 20, 2025
1 parent 2caa7b5 commit 4cae681
Showing 1 changed file with 48 additions and 48 deletions.
96 changes: 48 additions & 48 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,73 +60,73 @@ lint-cpp = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target format
""", depends_on = ["config"] }
""", depends-on = ["config"] }

lint-py = { cmd = """
black . --exclude '\\..*' \
&& isort . --skip-glob '.*'
""", depends_on = ["config"] }
""", depends-on = ["config"] }

lint = { depends_on = ["lint-cpp", "lint-py"] }
lint = { depends-on = ["lint-cpp", "lint-py"] }

check-lint-cpp = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target check-format
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

check-lint-py = { cmd = """
black . --check --exclude '\\..*' \
&& isort . --check --skip-glob '.*'
""", depends_on = ["config"] }
""", depends-on = ["config"] }

check-lint = { depends_on = ["check-lint-cpp", "check-lint-py"] }
check-lint = { depends-on = ["check-lint-cpp", "check-lint-py"] }

build = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
-j \
--target all
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

build-tests = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
-j \
--target tests
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

build-dartpy = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
-j \
--target dartpy
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

test = { cmd = """
ctest \
--test-dir build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--output-on-failure
""", depends_on = ["build-tests"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["build-tests"], env = { BUILD_TYPE = "Release" } }

test-dartpy = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
-j \
--target pytest
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

test-all = { cmd = """
cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE -j --target ALL
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

ex = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target $EXE \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/$EXE
""", depends_on = [
""", depends-on = [
"config",
], env = { EXE = "hello_world", BUILD_TYPE = "Release" } }

Expand All @@ -136,55 +136,55 @@ ex-atlas-puppet = { cmd = """
--target atlas_puppet \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/atlas_puppet
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

ex-atlas-simbicon = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target atlas_simbicon \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/atlas_simbicon
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

ex-hello-world = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target hello_world \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/hello_world
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

bm = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target BM_INTEGRATION_$EXE \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/BM_INTEGRATION_$EXE
""", depends_on = ["config"], env = { EXE = "empty", BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { EXE = "empty", BUILD_TYPE = "Release" } }

bm-boxes = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target BM_INTEGRATION_boxes \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/BM_INTEGRATION_boxes
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

bm-empty = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target BM_INTEGRATION_empty \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/BM_INTEGRATION_empty
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

bm-kinematics = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target BM_INTEGRATION_kinematics \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/BM_INTEGRATION_kinematics
""", depends_on = [
""", depends-on = [
"config",
], env = { BUILD_TYPE = "Release" } }

Expand All @@ -194,15 +194,15 @@ tu-biped = { cmd = """
--target tutorial_biped \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/tutorial_biped
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-biped-fi = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target tutorial_biped_finished \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/tutorial_biped_finished
""", depends_on = [
""", depends-on = [
"config",
], env = { BUILD_TYPE = "Release" } }

Expand All @@ -212,15 +212,15 @@ tu-collisions = { cmd = """
--target tutorial_collisions \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/tutorial_collisions
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-collisions-fi = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target tutorial_collisions_finished \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/tutorial_collisions_finished
""", depends_on = [
""", depends-on = [
"config",
], env = { BUILD_TYPE = "Release" } }

Expand All @@ -230,15 +230,15 @@ tu-dominoes = { cmd = """
--target tutorial_dominoes \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/tutorial_dominoes
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-dominoes-fi = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target tutorial_dominoes_finished \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/tutorial_dominoes_finished
""", depends_on = [
""", depends-on = [
"config",
], env = { BUILD_TYPE = "Release" } }

Expand All @@ -248,7 +248,7 @@ tu-multi-pendulum = { cmd = """
--target tutorial_multi_pendulum \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/tutorial_multi_pendulum
""", depends_on = [
""", depends-on = [
"config",
], env = { BUILD_TYPE = "Release" } }

Expand All @@ -258,7 +258,7 @@ tu-multi-pendulum-fi = { cmd = """
--target tutorial_multi_pendulum_finished \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/tutorial_multi_pendulum_finished
""", depends_on = [
""", depends-on = [
"config",
], env = { BUILD_TYPE = "Release" } }

Expand All @@ -267,7 +267,7 @@ install = { cmd = """
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target install \
--parallel \
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

################################################################################
# linux-64
Expand Down Expand Up @@ -337,60 +337,60 @@ config = { cmd = """

lint-py = { cmd = """
black . --exclude '\\..*' && isort . --skip-glob '.*'
""", depends_on = ["config"] }
""", depends-on = ["config"] }

lint = { depends_on = ["lint-py"] }
lint = { depends-on = ["lint-py"] }

check-lint-py = { cmd = """
black . --check --exclude '\\..*' && isort . --check --skip-glob '.*'
""", depends_on = ["config"] }
""", depends-on = ["config"] }

check-lint = { depends_on = ["check-lint-py"] }
check-lint = { depends-on = ["check-lint-py"] }

build = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
-j
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

build-tests = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
-j \
--target tests
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

build-dartpy = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
-j \
--target dartpy
""", depends_on = ["config"] }
""", depends-on = ["config"] }

test = { cmd = """
ctest \
--test-dir build/$PIXI_ENVIRONMENT_NAME/cpp \
--build-config $BUILD_TYPE \
--output-on-failure
""", depends_on = ["build-tests"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["build-tests"], env = { BUILD_TYPE = "Release" } }

test-dartpy = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
-j \
--target pytest
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

test-all = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
-j \
--target ALL
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-biped = { cmd = """
cmake \
Expand All @@ -399,7 +399,7 @@ tu-biped = { cmd = """
--target tutorial_biped \
--parallel \
&& build/$BUILD_TYPE/tutorial_biped.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-biped-fi = { cmd = """
cmake \
Expand All @@ -408,7 +408,7 @@ tu-biped-fi = { cmd = """
--target tutorial_biped_finished \
--parallel \
&& build/$BUILD_TYPE/tutorial_biped.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-collisions = { cmd = """
cmake \
Expand All @@ -417,7 +417,7 @@ tu-collisions = { cmd = """
--target tutorial_collisions \
--parallel \
&& build/$BUILD_TYPE/tutorial_collisions.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-collisions-fi = { cmd = """
cmake \
Expand All @@ -426,7 +426,7 @@ tu-collisions-fi = { cmd = """
--target tutorial_collisions_finished \
--parallel \
&& build/$BUILD_TYPE/tutorial_collisions.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-dominoes = { cmd = """
cmake \
Expand All @@ -435,7 +435,7 @@ tu-dominoes = { cmd = """
--target tutorial_dominoes \
--parallel \
&& build/$BUILD_TYPE/tutorial_dominoes.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-dominoes-fi = { cmd = """
cmake \
Expand All @@ -444,7 +444,7 @@ tu-dominoes-fi = { cmd = """
--target tutorial_dominoes_finished \
--parallel \
&& build/$BUILD_TYPE/tutorial_dominoes.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-multi-pendulum = { cmd = """
cmake \
Expand All @@ -453,7 +453,7 @@ tu-multi-pendulum = { cmd = """
--target tutorial_multi_pendulum \
--parallel \
&& build/$BUILD_TYPE/tutorial_multi_pendulum.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-multi-pendulum-fi = { cmd = """
cmake \
Expand All @@ -462,12 +462,12 @@ tu-multi-pendulum-fi = { cmd = """
--target tutorial_multi_pendulum_finished \
--parallel \
&& build/$BUILD_TYPE/tutorial_multi_pendulum.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["config"], env = { BUILD_TYPE = "Release" } }

install = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
-j \
--target install
""", depends_on = ["build"], env = { BUILD_TYPE = "Release" } }
""", depends-on = ["build"], env = { BUILD_TYPE = "Release" } }

0 comments on commit 4cae681

Please sign in to comment.