aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-06-06 00:07:10 -0300
committerSebastian <sebasjm@gmail.com>2022-06-06 00:07:15 -0300
commit0d9f59851b93f3cd6afbaefe97ac30d13dbda90d (patch)
treead75af6cac6eda7dfbe4a5ec52b01d10f0f7adac
parente3c92b6080f4b2c7f146bd84953ef51114b23cdb (diff)
add build script
-rwxr-xr-xpackages/anastasis-webui/clean_and_build.sh2
-rw-r--r--packages/anastasis-webui/package.json1
2 files changed, 3 insertions, 0 deletions
diff --git a/packages/anastasis-webui/clean_and_build.sh b/packages/anastasis-webui/clean_and_build.sh
index 85047b6e1..300ed8930 100755
--- a/packages/anastasis-webui/clean_and_build.sh
+++ b/packages/anastasis-webui/clean_and_build.sh
@@ -1,3 +1,5 @@
+#!/usr/bin/env bash
+
echo clean
rm -rf dist
mkdir -p dist/fonts
diff --git a/packages/anastasis-webui/package.json b/packages/anastasis-webui/package.json
index e60d505bc..ee5ae797e 100644
--- a/packages/anastasis-webui/package.json
+++ b/packages/anastasis-webui/package.json
@@ -4,6 +4,7 @@
"version": "0.0.2",
"license": "MIT",
"scripts": {
+ "build": "./clean_and_build.sh",
"compile": "tsc",
"dev": "./dev.mjs",
"prepare": "pnpm compile",