Skip to content

Commit

Permalink
feat: Add 'start' task (#30)
Browse files Browse the repository at this point in the history
* Add canonical 'pixi run start' task that runs the 'install' and 'serve'
  tasks.
  • Loading branch information
matthewfeickert authored Oct 14, 2024
1 parent 39e7797 commit 41fd416
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

```
Expand Down
2 changes: 2 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 41fd416

Please sign in to comment.