Update build scripts and change notice date format
- Add build-dev target for development environment - Fix zip output paths to use relative paths in build directory - Change home notice date format from 'YY년 MM월 DD일' to 'YYYY.MM.DD' 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
12
Makefile
12
Makefile
@@ -33,16 +33,24 @@ build-staging: ## Build for staging environment with zip packaging
|
||||
pnpm run build:staging
|
||||
@echo "Creating deployment package..."
|
||||
$(eval VERSION := $(shell node -p "require('./package.json').version"))
|
||||
cd build && zip -r ../dist/nice-app-web-staging-$(VERSION).zip . && cd ..
|
||||
cd build && zip -r ./dist/nice-app-web-staging-$(VERSION).zip . && cd ..
|
||||
@echo "Deployment package created: nice-app-web-staging-$(VERSION).zip"
|
||||
|
||||
build-dev: ## Build for production with zip packaging
|
||||
pnpm run build
|
||||
@echo "Creating development deployment package..."
|
||||
$(eval VERSION := $(shell node -p "require('./package.json').version"))
|
||||
cd build && zip -r ./dist/nice-app-web-development-$(VERSION).zip . && cd ..
|
||||
@echo "Deployment package created: nice-app-web-production-$(VERSION).zip"
|
||||
|
||||
build-production: ## Build for production with zip packaging
|
||||
pnpm run build
|
||||
@echo "Creating production deployment package..."
|
||||
$(eval VERSION := $(shell node -p "require('./package.json').version"))
|
||||
cd build && zip -r ../dist/nice-app-web-production-$(VERSION).zip . && cd ..
|
||||
cd build && zip -r ./dist/nice-app-web-production-$(VERSION).zip . && cd ..
|
||||
@echo "Deployment package created: nice-app-web-production-$(VERSION).zip"
|
||||
|
||||
|
||||
preview: ## Preview production build
|
||||
pnpm run preview
|
||||
|
||||
|
||||
Reference in New Issue
Block a user