changeset 2057:d41530a84d4b

pdm_local_install
author drewp@bigasterisk.com
date Fri, 13 May 2022 14:56:08 -0700
parents be860a233793
children 16c7dd543250
files makefile
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/makefile	Fri May 13 01:11:36 2022 -0700
+++ b/makefile	Fri May 13 14:56:08 2022 -0700
@@ -38,10 +38,15 @@
 pnpm:
 	# holding pnpm back because we don't have the latest nodejs: https://pnpm.io/installation#compatibility
 	sudo npm install -g pnpm@6.32.12
-	
+
 bin/node:
 	ln -sf `which nodejs` bin/node
 
+pdm_local_install:
+	# drew has ~/bin in $PATH
+	pip install pdm
+	ln -s ../.local/bin/pdm ~/bin
+
 js:
 	pnpm install --reporter append-only