Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
admpub committed Dec 15, 2024
1 parent 4349493 commit 1ec1e10
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion public/assets/backend/css/style.lite.min.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

19 changes: 11 additions & 8 deletions tool/minify/cleanCSS.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
go install github.com/daaku/cssdalek@latest
baseDir=../../
#vendDir=vendor/
vendDir=../../../
#ls -alh "${baseDir}${vendDir}";exit 0;
cssdalek \
--css "${baseDir}public/assets/backend/js/bootstrap/dist/css/bootstrap.css"\
--word "${baseDir}public/assets/backend/js/bootstrap/dist/js/bootstrap.js"\
--word "${baseDir}template/backend/*.html"\
--word "${baseDir}template/backend/*/*.html"\
--word "${baseDir}template/backend/*/*/*.html"\
--word "${baseDir}vendor/github.com/nging-plugins/*/template/backend/*.html"\
--word "${baseDir}vendor/github.com/nging-plugins/*/template/backend/*/*.html"\
--word "${baseDir}vendor/github.com/nging-plugins/*/template/backend/*/*/*.html"\
--word "${baseDir}vendor/github.com/nging-plugins/*/template/backend/*/*/*/*.html"\
--word "${baseDir}${vendDir}github.com/nging-plugins/*/template/backend/*.html"\
--word "${baseDir}${vendDir}github.com/nging-plugins/*/template/backend/*/*.html"\
--word "${baseDir}${vendDir}github.com/nging-plugins/*/template/backend/*/*/*.html"\
--word "${baseDir}${vendDir}github.com/nging-plugins/*/template/backend/*/*/*/*.html"\
--word "${baseDir}../webx/template/backend/official/*.html"\
--word "${baseDir}../webx/template/backend/official/*/*.html"\
--word "${baseDir}../webx/template/backend/official/*/*/*.html"\
Expand All @@ -24,10 +27,10 @@ cssdalek \
--word "${baseDir}template/backend/*.html"\
--word "${baseDir}template/backend/*/*.html"\
--word "${baseDir}template/backend/*/*/*.html"\
--word "${baseDir}vendor/github.com/nging-plugins/*/template/backend/*.html"\
--word "${baseDir}vendor/github.com/nging-plugins/*/template/backend/*/*.html"\
--word "${baseDir}vendor/github.com/nging-plugins/*/template/backend/*/*/*.html"\
--word "${baseDir}vendor/github.com/nging-plugins/*/template/backend/*/*/*/*.html"\
--word "${baseDir}${vendDir}github.com/nging-plugins/*/template/backend/*.html"\
--word "${baseDir}${vendDir}github.com/nging-plugins/*/template/backend/*/*.html"\
--word "${baseDir}${vendDir}github.com/nging-plugins/*/template/backend/*/*/*.html"\
--word "${baseDir}${vendDir}github.com/nging-plugins/*/template/backend/*/*/*/*.html"\
--word "${baseDir}../webx/template/backend/official/*.html"\
--word "${baseDir}../webx/template/backend/official/*/*.html"\
--word "${baseDir}../webx/template/backend/official/*/*/*.html"\
Expand Down

0 comments on commit 1ec1e10

Please sign in to comment.