From 41fd416146984cbcfb86fa5573489edea07c5f06 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Mon, 14 Oct 2024 02:31:24 -0600 Subject: [PATCH] feat: Add 'start' task (#30) * Add canonical 'pixi run start' task that runs the 'install' and 'serve' tasks. --- README.md | 8 ++++++++ pixi.toml | 2 ++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 6f20c7e..b083475 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,14 @@ and then run any defined task with `pixi run`, such as building and serving the pixi run serve ``` +The canonical + +``` +pixi run start +``` + +runs the `install` and `serve` tasks. + You can see all the defined tasks in this project by running ``` diff --git a/pixi.toml b/pixi.toml index 01d819f..c1cc3b3 100644 --- a/pixi.toml +++ b/pixi.toml @@ -23,6 +23,8 @@ clean = "bundle exec rake clean" clobber = "bundle exec rake clobber" +start = { depends-on = ["install", "serve"] } + [dependencies] ruby = ">=3.3.3,<4" compilers = ">=1.7.0,<2"