Skip to content

Commit

Permalink
Fixes doc lockfile updater
Browse files Browse the repository at this point in the history
  • Loading branch information
mrharpo committed Mar 20, 2024
1 parent 892cc6c commit d8049de
Show file tree
Hide file tree
Showing 5 changed files with 585 additions and 2,124 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ jobs:
update:
name: 🦿 Update dependencies
uses: WGBH-MLA/.github/.github/workflows/update.yml@main
with:
pdm_args: -G dev,test,cli -u --save-compatible --no-sync --no-self && pdm update --no-default -G docs -L pdm-locks/pdm.doc.lock --unconstrained --save-compatible --no-sync --no-self
39 changes: 39 additions & 0 deletions docs/pdm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# PDM

Package management scripts for ov-wag

## Install project

```bash
pdm install
```

## Run scripts

There are several scripts that can be run directly from the command line. They can be run by running:

```bash
pdm ov
```

## Create lockfiles

```bash
# dev
pdm lock -G dev,test,cli
# prod
pdm lock --prod -G production -L pdm-locks/pdm.prod.lock
# docs
pdm lock --no-default -G docs -L pdm-locks/pdm.doc.lock
```

## Update lockfiles

```bash
# dev
pdm update -G dev,test,cli --unconstrained --save-compatible
# prod
pdm update --prod -G production -L pdm-locks/pdm.prod.lock --unconstrained --save-compatible
# docs
pdm update --no-default -G docs -L pdm-locks/pdm.doc.lock --unconstrained --save-compatible
```
Loading

0 comments on commit d8049de

Please sign in to comment.