Skip to content

Commit

Permalink
build: update blazew script
Browse files Browse the repository at this point in the history
Signed-off-by: Ar Rakin <68149013+virtual-designer@users.noreply.github.com>
  • Loading branch information
virtual-designer authored Jun 3, 2024
1 parent 412e49a commit 7230148
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions blazew
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,12 @@ blaze_cmd() {
fi
}

if [ ! -e "$projectdir/.blaze/build.d.ts" ]; then
print 34 "info " "Creating $projectdir/.blaze/build.d.ts..."
if [ ! -e "$projectdir/.blaze" ]; then
print 34 "info " "Creating $projectdir/.blaze directory..."
mkdir -p "$projectdir/.blaze"
cp "$blaze_srcpath/src/main/typescript/types/build.d.ts" "$projectdir/.blaze/build.d.ts"

if [ $? -ne 0 ]; then
print "1;31" "error " "Failed to create build.d.ts."
print "1;31" "error " "Failed to create .blaze/ directory!"
exit 1
fi
fi
Expand Down

0 comments on commit 7230148

Please sign in to comment.