From 5dbe654ad906d0e91a48c24eced94cc4f051600e Mon Sep 17 00:00:00 2001 From: thegamerx1 <34986564+thegamerx1@users.noreply.github.com> Date: Thu, 8 Feb 2024 22:30:31 +0100 Subject: [PATCH] feat: compile sass in CI --- .github/workflows/build.yaml | 2 +- .gitignore | 1 + web/minify/css.css | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 web/minify/css.css diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index db5298d..6da5956 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -19,7 +19,7 @@ jobs: - run: choco install autohotkey - name: Compile HTML run: > - & "C:\Program Files\AutoHotkey\AutohotkeyU64.exe" "/ErrorStdOut" "Lib\EzGui\projectCompile.ahk" -web "web" -includer "extensions" 2>&1 | Out-Host + & "C:\Program Files\AutoHotkey\AutohotkeyU64.exe" "/ErrorStdOut" "Lib\EzGui\projectCompile.ahk" -sass ".\web\css.sass" ".\web\minify\css.css" -web "web" -includer "extensions" 2>&1 | Out-Host - name: Compile AHK run: > & "C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe" "/ErrorStdOut" "/in" "main.ahk" 2>&1 | Out-Host diff --git a/.gitignore b/.gitignore index 2c318d6..a241130 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ extensions/_asda extensions/killlol.ahk extensions/_includer.ahk +web/minify _includer.txt data \ No newline at end of file diff --git a/web/minify/css.css b/web/minify/css.css deleted file mode 100644 index ca2b5f1..0000000 --- a/web/minify/css.css +++ /dev/null @@ -1 +0,0 @@ -main .container{box-shadow:0px 0px 7px -1px #000000;-ms-flex:1;flex:1;-ms-flex-positive:1;flex-grow:1;border:1px solid #5c5c5c;background-color:#303030}main #console-container{-ms-flex-positive:2.5;flex-grow:2.5}#console-container{padding:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#console-container ol.breadcrumb{background-color:rgba(0,0,0,0.1);padding:.4em;padding-left:13px;margin:0;border-bottom:1px solid #424242;border-radius:0}#console-container ol.breadcrumb .breadcrumb-item:first-child{cursor:pointer;color:#6a8bd1}#console-container ol.breadcrumb .breadcrumb-item:first-child:hover{text-decoration:underline}#extensionlist{padding:0;overflow:auto;overflow-x:hidden}#extensionlist .extension-item{font-size:90%;transition:.3s;background-color:#4b4b4b;border-bottom:5px solid #424242;position:relative}#extensionlist .extension-item div.content{padding:10px;height:40px;overflow:hidden;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-ms-flex-positive:3;flex-grow:3}#extensionlist .extension-item:hover div.buttons{background:linear-gradient(to right, rgba(34,34,34,0) 0%, rgba(34,34,34,0.377) 15%);visibility:visible;opacity:1;width:auto}#extensionlist .extension-item div.buttons{visibility:hidden;position:absolute;top:0;bottom:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;width:0px;transition:opacity .1s;opacity:.3;font-size:3vw}#extensionlist .extension-item div.buttons button{padding:0 15px;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;border:0;background:transparent}#extensionlist .extension-item div.buttons button:hover{background:rgba(0,0,0,0.176)}#extensionconfig .modal-dialog{margin:0 1em;max-width:none}#extensionconfig .modal-content .modal-body{height:55vh}#extensionconfig .modal-content .modal-footer{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;padding:10px}#extensionconfig .modal-content .modal-footer button{margin-left:.6em}#extensionconfig .modal-content .modal-footer button:last-child{margin-left:auto}#extensionconfig .modal-content .modal-footer button:first-child{width:80px}