File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ composer install --no-dev --classmap-authoritative --optimize-autoloader
25
25
# Since the "highlight.php" directory name can trip up some systems, rename to "highlight-php".
26
26
mv vendor/scrivo/highlight{.php,-php}
27
27
find vendor/autoload.php vendor/composer -type f -print0 | xargs -0 sed -i " s:/highlight\.php/:/highlight-php/:g"
28
+ sed -i " s/const DEVELOPMENT_MODE = true;.*/const DEVELOPMENT_MODE = false;/g" syntax-highlighting-code-block.php
28
29
29
30
# Build the JS.
30
31
npm run build:js
@@ -40,7 +41,4 @@ if [[ $VERSION == *-* ]]; then
40
41
sed -i " s/$VERSION_ESCAPED /$NEW_VERSION /g" syntax-highlighting-code-block.php
41
42
echo " Detected non-stable version: $VERSION "
42
43
echo " Creating build for version: $NEW_VERSION "
43
-
44
- sed -i " s/const DEVELOPMENT_MODE = true;.*/const DEVELOPMENT_MODE = false;/g" syntax-highlighting-code-block.php
45
44
fi
46
-
You can’t perform that action at this time.
0 commit comments