Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
matubu committed Sep 10, 2024
1 parent 6696dc9 commit 3237420
Show file tree
Hide file tree
Showing 2 changed files with 772 additions and 515 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -e

npm i

in_dir=./src
out_dir=./dist

Expand All @@ -21,7 +23,7 @@ minify_js () {

rm -rf $out_dir

for file in $(find $in_dir \( -name "*.ts" \) -type f); do
for file in $(find $in_dir \( -name "*.ts" -or -name "*.js" \) -type f); do
minify_js $file &
done

Expand Down
Loading

0 comments on commit 3237420

Please sign in to comment.