feat: make file build and install commands
This commit is contained in:
parent
54a15af232
commit
7feb6a77e4
2 changed files with 16 additions and 5 deletions
18
Makefile
18
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
.PHONY: all format lint
|
||||
.PHONY: all format lint build
|
||||
|
||||
all: help
|
||||
|
||||
|
|
@ -12,7 +12,21 @@ lint:
|
|||
poetry run black . --check
|
||||
poetry run ruff .
|
||||
|
||||
install_frontend:
|
||||
cd langflow/frontend && npm install
|
||||
|
||||
build_frontend:
|
||||
cd langflow/frontend && npm run build
|
||||
|
||||
build:
|
||||
make install_frontend
|
||||
make build_frontend
|
||||
poetry build
|
||||
|
||||
help:
|
||||
@echo '----'
|
||||
@echo 'format - run code formatters'
|
||||
@echo 'lint - run linters'
|
||||
@echo 'lint - run linters'
|
||||
@echo 'install_frontend - install the frontend dependencies'
|
||||
@echo 'build_frontend - build the frontend static files'
|
||||
@echo 'build - build the frontend static files and package the project'
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#! /bin/bash
|
||||
|
||||
cd ../space_flow && npm run build
|
||||
Loading…
Add table
Add a link
Reference in a new issue