写Makefile便于编译

This commit is contained in:
CattySteve 2024-05-01 22:14:33 +08:00
parent ff314be325
commit 2c6c2def50
No known key found for this signature in database
GPG Key ID: 12DE47937CA24CD3
1 changed files with 20 additions and 0 deletions

20
Makefile Normal file
View File

@ -0,0 +1,20 @@
all: checkDep frontend container
checkDep:
yarn --version
docker --version
docker-compose --version
frontend: GalaxyMusicHall_TSFrontend
cd GalaxyMusicHall_TSFrontend && yarn && yarn build
container:
pwd
docker-compose build
run:
docker-compose up
start:
docker-compose up -d