Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
hamelsmu authored Jun 6, 2022
1 parent ae97682 commit ddbc89f
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
.ONESHELL:
SHELL := /bin/bash
SRC = $(wildcard nbs/*.ipynb)

nbprocess: $(SRC)
nbprocess_export
touch nbprocess
.DEFAULT_GOAL := help

sync:
nbprocess_update

deploy: docs
nbprocess_ghp_deploy

serve:
preview:
nbprocess_sidebar
quarto preview

docs: .FORCE
nbprocess_export
pip install -e .
nbprocess_quarto

prepare: test
nbprocess_clean
nbprocess_export

test:
nbprocess_test

release-all: pypi conda_release
release_all: pypi conda_release
nbdev_bump_version

release-pypi: pypi
release_pypi: pypi
nbdev_bump_version

conda_release:
Expand All @@ -42,11 +41,14 @@ dist: clean
clean:
rm -rf dist


install: install_quarto
pip install -e .

install_quarto: .FORCE
./install_quarto.sh


.FORCE:

help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

0 comments on commit ddbc89f

Please sign in to comment.