From 741c17f5fe1242e202d194cd3d69aa8771dfa95f Mon Sep 17 00:00:00 2001 From: hamelsmu Date: Mon, 6 Jun 2022 16:28:01 -0700 Subject: [PATCH] update make --- Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4f2cead..700d4ba 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ .ONESHELL: SHELL := /bin/bash +exp: + nbprocess_export + help: ## Show this help @egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' @@ -12,7 +15,8 @@ deploy: docs ## Push local docs to gh-pages branch preview: ## Live preview quarto docs with hot reloading. nbprocess_sidebar - quarto preview + nbprocess_export + nbprocess_quarto --preview docs: .FORCE ## Build quarto docs and put them into folder specified in `doc_path` in settings.ini nbprocess_export @@ -20,7 +24,6 @@ docs: .FORCE ## Build quarto docs and put them into folder specified in `doc_pat prepare: ## Export notebooks to python modules, test code and clean notebooks. nbprocess_export - pip install -e . nbprocess_test nbprocess_clean @@ -45,7 +48,11 @@ dist: clean clean: rm -rf dist -install: install_quarto +install: install_quarto ## Install quarto and the latest version of the local python pckage as an editable install + pip install -e . + +install_py: .FORCE + nbprocess_export pip install -e . install_quarto: .FORCE ## Install the latest version of quarto for Mac and Linux. Go to https://quarto.org/docs/get-started/ for Windows.