mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-26 17:02:19 +08:00
feat: make file build and install commands
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user