mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-13 20:47:53 -06:00
chore: remove outdated build rules
This commit is contained in:
parent
85689a0788
commit
b349cef943
1 changed files with 8 additions and 14 deletions
22
Makefile
22
Makefile
|
@ -10,26 +10,20 @@ 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 's/--branch .* g/--branch $(VERSION) g/g' README.md
|
@sed -i 's/install -r .*/install -r v$(VERSION)/g' README.md
|
||||||
@git add src/viv/viv.py && git commit -m "chore: bump version"
|
@git add src/viv/viv.py README.md && git commit -m "chore: bump version" --no-verify
|
||||||
@git tag v$(VERSION)
|
@git tag v$(VERSION)
|
||||||
|
|
||||||
venv: ## generate environment
|
venv: ## generate environment
|
||||||
pdm install
|
pdm install
|
||||||
|
|
||||||
install: ## symlink to $PREFIX
|
# TAPES = demo freeze list-info-remove
|
||||||
ln -sf $(shell pwd)/src/viv/viv.py $(PREFIX)/viv
|
# GIFS := $(foreach n, $(TAPES), docs/$(n).gif)
|
||||||
|
# docs: $(GIFS) ## generate usage examples
|
||||||
|
|
||||||
uninstall: ## delete $(PREFIX)/viv
|
# docs/%.gif: docs/%.tape
|
||||||
rm $(PREFIX)/viv
|
# viv rm $$(viv l -q)
|
||||||
|
# cd docs; vhs < $*.tape
|
||||||
TAPES = demo freeze list-info-remove
|
|
||||||
GIFS := $(foreach n, $(TAPES), docs/$(n).gif)
|
|
||||||
docs: $(GIFS) ## generate usage examples
|
|
||||||
|
|
||||||
docs/%.gif: docs/%.tape
|
|
||||||
viv rm $$(viv l -q)
|
|
||||||
cd docs; vhs < $*.tape
|
|
||||||
|
|
||||||
clean: ## remove build artifacts
|
clean: ## remove build artifacts
|
||||||
rm -rf {build,dist}
|
rm -rf {build,dist}
|
||||||
|
|
Loading…
Reference in a new issue