|
|
|
@ -49,15 +49,15 @@ build() {
@@ -49,15 +49,15 @@ build() {
|
|
|
|
|
|
|
|
|
|
mkdir -p dist/${NAME} |
|
|
|
|
mkdir -p dist/${NAME}/webroot/static |
|
|
|
|
mkdir -p dist/${NAME}/data |
|
|
|
|
|
|
|
|
|
# Default files |
|
|
|
|
cp config-example.yaml dist/${NAME}/config.yaml |
|
|
|
|
cp data/content-example.md dist/${NAME}/webroot/static/content.md |
|
|
|
|
cp data/content-example.md dist/${NAME}/data/content.md |
|
|
|
|
|
|
|
|
|
cp -R webroot/ dist/${NAME}/webroot/ |
|
|
|
|
# Copy the production pruned+minified css to the build's directory. |
|
|
|
|
cp "${TMPDIR}tailwind.min.css" ./dist/${NAME}/webroot/js/web_modules/tailwindcss/dist/tailwind.min.css |
|
|
|
|
cp -R doc/ dist/${NAME}/doc/ |
|
|
|
|
cp -R static/ dist/${NAME}/static |
|
|
|
|
cp README.md dist/${NAME} |
|
|
|
|
|
|
|
|
|