change python config, add jupyter and ein
This commit is contained in:
28
lisp/jupyter/js/Makefile
Normal file
28
lisp/jupyter/js/Makefile
Normal file
@@ -0,0 +1,28 @@
|
||||
SHELL = bash
|
||||
|
||||
NPM ?= $(shell command -v npm)
|
||||
ifeq ($(NPM),)
|
||||
$(error "Node not installed (https://nodejs.org/en/)")
|
||||
endif
|
||||
|
||||
YARN ?= $(shell command -v yarn)
|
||||
ifeq ($(YARN),)
|
||||
# If yarn isn't already installed, it is built locally
|
||||
YARN = ./node_modules/.bin/yarn
|
||||
endif
|
||||
|
||||
.PHONY: all build clean
|
||||
|
||||
all: build
|
||||
|
||||
clean:
|
||||
@rm -rf built/ 2>/dev/null || true
|
||||
|
||||
really-clean: clean
|
||||
@rm -rf node_modules 2>/dev/null || true
|
||||
|
||||
build: built/index.built.js
|
||||
|
||||
built/index.built.js:
|
||||
$(NPM) install
|
||||
$(YARN) run build --progress
|
||||
Reference in New Issue
Block a user