-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(version): Bump to v3.4.0 and reorganize the build scripts
- Loading branch information
1 parent
3e4fc42
commit 49deea9
Showing
3 changed files
with
277 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
#!/bin/sh | ||
|
||
cd template/ | ||
rm css/template*.css | ||
rm dist/main*.css | ||
cd library | ||
/usr/bin/composer update --no-dev | ||
/usr/bin/composer dump-autoload --classmap-authoritative | ||
cd .. | ||
|
||
cd template | ||
npm ci | ||
npm run prod | ||
cd .. | ||
|
||
rm -rf template/node_modules | ||
|
||
# JavaScript to be deferred | ||
cat template/dist/main.js > template/js/template.js | ||
cat template/js/prism.js >> template/js/template.js | ||
|
||
npm run build |
Oops, something went wrong.