Browse Source

add publish and several other commands

master
Jonathan Strong 3 years ago
parent
commit
f74d75e609
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      justfile

+ 20
- 0
justfile View File

@@ -22,4 +22,24 @@ test +args='':
doc +args='':
@just cargo doc --open --document-private-items {{args}}

# just rebuild docs, don't open browser page again
redoc +args='':
@just cargo doc {{args}}

publish +args='':
@just cargo publish --registry mmcxi {{args}}

update +args='':
@just cargo update {{args}}

# blow away build dir and start all over again
rebuild:
just cargo clean
just update
just test

# display env variables that will be used for building
show-build-env:
@ env | rg RUST --color never



Loading…
Cancel
Save