Skip to content

Commit 58d51a5

Browse files
committed
Update scripts
1 parent ed14871 commit 58d51a5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

scripts/direct/update.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@REM You need to run this on every update
1+
@REM You need to run this on every update (only for production)
22

33
@REM ~~~~~~~~ Laravel App ~~~~~~~~
44

@@ -17,3 +17,6 @@ CALL npm i -s
1717
@REM run build script
1818
CALL npm run build
1919
CALL npm run prod
20+
21+
@REM run optimize command
22+
CALL php artisan optimize

scripts/direct/update.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# You need to run this on every update
1+
# You need to run this on every update (only for production)
22

33
# ~~~~~~~~ Laravel App ~~~~~~~~
44

@@ -17,3 +17,6 @@ npm i -s
1717
# run build script
1818
npm run build
1919
npm run prod
20+
21+
# run optimize command
22+
php artisan optimize

0 commit comments

Comments
 (0)