Skip to content

Commit

Permalink
chore: update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby committed Nov 18, 2024
1 parent 2cab4ff commit 89dc59e
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
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
build: clean
echo "Building theme"
pnpm install
pnpm build
echo "Theme built successfully!"
echo "Collect theme dist"
mkdir dist
cp -r templates dist
cp -r i18n dist
cp theme.yaml settings.yaml README.md dist

clean:
echo "Clean dist folder"
rm -rf dist

0 comments on commit 89dc59e

Please sign in to comment.