Skip to content

Commit d2d9e58

Browse files
committed
static: add zip.sh
1 parent efd7541 commit d2d9e58

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

internal/static/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ logs
33
*.log
44
npm-debug.log*
55
node_modules
6+
dist/
67

78
# Editor directories and files
89
.vscode/*

internal/static/scripts/zip.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
set -eu
3+
4+
# Zip the dist directory into dist.zip
5+
cd "$(dirname "$0")/.."
6+
7+
rm dist.zip -f
8+
zip -r dist.zip dist/*

0 commit comments

Comments
 (0)