mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 18:50:43 -06:00
chore: new default is 'latest'
This commit is contained in:
parent
d4b272f5d3
commit
8a252c5edc
2 changed files with 6 additions and 4 deletions
6
Makefile
6
Makefile
|
@ -10,9 +10,11 @@ types: ## run mypy
|
||||||
bump-version: ## update version and tag commit
|
bump-version: ## update version and tag commit
|
||||||
@echo "bumping to version => $(VERSION)"
|
@echo "bumping to version => $(VERSION)"
|
||||||
@sed -i 's/__version__ = ".*"/__version__ = "$(VERSION)"/g' src/viv/viv.py
|
@sed -i 's/__version__ = ".*"/__version__ = "$(VERSION)"/g' src/viv/viv.py
|
||||||
@sed -i 's/install -r .*/install -r v$(VERSION)/g' README.md
|
@git add src/viv/viv.py && git commit -m "chore: bump version" --no-verify
|
||||||
@git add src/viv/viv.py README.md && git commit -m "chore: bump version" --no-verify
|
|
||||||
@git tag v$(VERSION)
|
@git tag v$(VERSION)
|
||||||
|
@git tag -d latest || true
|
||||||
|
@git tag latest
|
||||||
|
|
||||||
|
|
||||||
venv: ## generate environment
|
venv: ## generate environment
|
||||||
pdm install
|
pdm install
|
||||||
|
|
|
@ -31,7 +31,7 @@ In any case they will be re-used across scripts (and generated on-demand, if nee
|
||||||
Run the below command to install `viv`.
|
Run the below command to install `viv`.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
python3 <(curl -fsSL gh.dayl.in/viv/viv.py) manage install -r v23.5a1
|
python3 <(curl -fsSL gh.dayl.in/viv/viv.py) manage install
|
||||||
```
|
```
|
||||||
|
|
||||||
To access `viv` from within scripts you should add it's location to your `PYTHONPATH`.
|
To access `viv` from within scripts you should add it's location to your `PYTHONPATH`.
|
||||||
|
@ -43,7 +43,7 @@ export PYTHONPATH="$PYTHONPATH:$HOME/.local/share/viv"
|
||||||
|
|
||||||
Advanced users may recognize that principally,
|
Advanced users may recognize that principally,
|
||||||
the module just needs to be recognized at run time
|
the module just needs to be recognized at run time
|
||||||
and the single script at `./src/viv/viv.py` can be invoked directly for the CLI.
|
and the single script [`viv.py`](https://github.com/daylinmorgan/viv/blob/main/src/viv/viv.py) can be invoked directly for the CLI.
|
||||||
How you accomplish these options is ultimately up to you but the above instructions can get you started.
|
How you accomplish these options is ultimately up to you but the above instructions can get you started.
|
||||||
|
|
||||||
### Pypi (Not Recommended)
|
### Pypi (Not Recommended)
|
||||||
|
|
Loading…
Reference in a new issue