mirror of
https://github.com/halo-dev/theme-earth.git
synced 2025-10-14 14:30:50 +00:00

#### What this PR does? Add build script into Makefile to build the theme conviniently. See README.md for more. /kind feature ```release-note None ```
14 lines
261 B
Makefile
14 lines
261 B
Makefile
build: clean
|
|
echo "Building theme"
|
|
pnpm install
|
|
pnpm build
|
|
echo "Theme built successfully!"
|
|
echo "Collect theme dist"
|
|
mkdir dist
|
|
cp -r templates dist
|
|
cp theme.yaml settings.yaml README.md dist
|
|
|
|
clean:
|
|
echo "Clean dist folder"
|
|
rm -rf dist
|