updates pre-commit to call .ps1 file instead, prevents updatehashes from looking in node_modules lol, updates hashes so git actions doesn't have to?
This commit is contained in:
parent
d1eba92ad6
commit
1ba438688a
4 changed files with 269 additions and 40 deletions
|
@ -1,7 +1,7 @@
|
|||
# Updates html files with cache busting urls including file hashes.
|
||||
|
||||
# Actual file processing
|
||||
$htmlfiles = Get-ChildItem -Path . -Recurse -Filter "*.html" | Resolve-path -relative
|
||||
$htmlfiles = Get-ChildItem -Path . -Recurse -Filter "*.html" | Where {$_.FullName -notlike "*\node_modules\*"} | Resolve-path -relative
|
||||
foreach ($htmlfile in $htmlfiles) {
|
||||
Write-Host "[info] Processing '${htmlfile}' for cache busting..." -ForegroundColor Blue
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Script to perform some basic operations to the code before committing.
|
||||
|
||||
# Adds file hashes to html script imports for cache busting purposes
|
||||
powershell .devtools/updatehashes.bat gitadd
|
||||
powershell .devtools/updatehashes.ps1 gitadd
|
||||
|
||||
# Adds file to current commit
|
||||
git add "**.html"
|
239
index.html
239
index.html
|
@ -4,22 +4,22 @@
|
|||
<meta charset="utf-8" />
|
||||
<title>openOutpaint 🐠</title>
|
||||
<!-- CSS Variables -->
|
||||
<link href="css/colors.css?v=3f0d162" rel="stylesheet" />
|
||||
<link href="css/icons.css?v=665c8c1" rel="stylesheet" />
|
||||
<link href="css/colors.css?v=3f81e80" rel="stylesheet" />
|
||||
<link href="css/icons.css?v=a25504c" rel="stylesheet" />
|
||||
|
||||
<link href="css/index.css?v=6538a62" rel="stylesheet" />
|
||||
<link href="css/layers.css?v=104d682" rel="stylesheet" />
|
||||
<link href="css/index.css?v=ef0c943" rel="stylesheet" />
|
||||
<link href="css/layers.css?v=b4fbf61" rel="stylesheet" />
|
||||
|
||||
<link href="css/ui/generic.css?v=90f4b50" rel="stylesheet" />
|
||||
<link href="css/ui/generic.css?v=a15ce4b" rel="stylesheet" />
|
||||
|
||||
<link href="css/ui/history.css?v=ce2a69a" rel="stylesheet" />
|
||||
<link href="css/ui/layers.css?v=71d2325" rel="stylesheet" />
|
||||
<link href="css/ui/toolbar.css?v=dfdf183" rel="stylesheet" />
|
||||
<link href="css/ui/history.css?v=0b03861" rel="stylesheet" />
|
||||
<link href="css/ui/layers.css?v=4fd95fe" rel="stylesheet" />
|
||||
<link href="css/ui/toolbar.css?v=109c78f" rel="stylesheet" />
|
||||
|
||||
<!-- Tool Specific CSS -->
|
||||
<link href="css/ui/tool/dream.css?v=eff86a8" rel="stylesheet" />
|
||||
<link href="css/ui/tool/stamp.css?v=85def70" rel="stylesheet" />
|
||||
<link href="css/ui/tool/colorbrush.css?v=5e5bb2f" rel="stylesheet" />
|
||||
<link href="css/ui/tool/dream.css?v=2d8a8ac" rel="stylesheet" />
|
||||
<link href="css/ui/tool/stamp.css?v=6f5ce15" rel="stylesheet" />
|
||||
<link href="css/ui/tool/colorbrush.css?v=57c8be5" rel="stylesheet" />
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
||||
</head>
|
||||
|
@ -317,16 +317,16 @@
|
|||
|
||||
<!-- Base Libs -->
|
||||
<script src="js/lib/util.js?v=5838390" type="text/javascript"></script>
|
||||
<script src="js/lib/events.js?v=5651612" type="text/javascript"></script>
|
||||
<script src="js/lib/input.js?v=41bcb1f" type="text/javascript"></script>
|
||||
<script src="js/lib/layers.js?v=ef337a2" type="text/javascript"></script>
|
||||
<script src="js/lib/commands.js?v=9382070" type="text/javascript"></script>
|
||||
<script src="js/lib/events.js?v=2ab7933" type="text/javascript"></script>
|
||||
<script src="js/lib/input.js?v=09298ac" type="text/javascript"></script>
|
||||
<script src="js/lib/layers.js?v=a1f8aea" type="text/javascript"></script>
|
||||
<script src="js/lib/commands.js?v=00464cb" type="text/javascript"></script>
|
||||
|
||||
<script src="js/lib/toolbar.js?v=af283c3" type="text/javascript"></script>
|
||||
<script src="js/lib/ui.js?v=d5f246c" type="text/javascript"></script>
|
||||
<script src="js/lib/toolbar.js?v=8a08072" type="text/javascript"></script>
|
||||
<script src="js/lib/ui.js?v=8481b85" type="text/javascript"></script>
|
||||
|
||||
<script
|
||||
src="js/initalize/layers.populate.js?v=e39fbfc"
|
||||
src="js/initalize/layers.populate.js?v=c81f0a5"
|
||||
type="text/javascript"></script>
|
||||
|
||||
<!-- Configuration -->
|
||||
|
@ -348,33 +348,33 @@
|
|||
src="js/ui/tool/generic.js?v=f1a19a4"
|
||||
type="text/javascript"></script>
|
||||
|
||||
<script src="js/ui/tool/dream.js?v=890a2eb" type="text/javascript"></script>
|
||||
<script src="js/ui/tool/dream.js?v=230e42e" type="text/javascript"></script>
|
||||
<script
|
||||
src="js/ui/tool/maskbrush.js?v=5b574f3"
|
||||
src="js/ui/tool/maskbrush.js?v=1e8a893"
|
||||
type="text/javascript"></script>
|
||||
<script
|
||||
src="js/ui/tool/colorbrush.js?v=1bd7288"
|
||||
type="text/javascript"></script>
|
||||
<script
|
||||
src="js/ui/tool/select.js?v=14f1dda"
|
||||
src="js/ui/tool/select.js?v=533feab"
|
||||
type="text/javascript"></script>
|
||||
<script src="js/ui/tool/stamp.js?v=1c26257" type="text/javascript"></script>
|
||||
<script src="js/ui/tool/stamp.js?v=81b8908" type="text/javascript"></script>
|
||||
<script
|
||||
src="js/ui/tool/interrogate.js?v=f06171a"
|
||||
src="js/ui/tool/interrogate.js?v=af51c4d"
|
||||
type="text/javascript"></script>
|
||||
|
||||
<!-- Initialize -->
|
||||
<script
|
||||
src="js/initalize/shortcuts.populate.js?v=7b4d80a"
|
||||
src="js/initalize/shortcuts.populate.js?v=fd01c47"
|
||||
type="text/javascript"></script>
|
||||
<script
|
||||
src="js/initalize/toolbar.populate.js?v=9999735"
|
||||
src="js/initalize/toolbar.populate.js?v=c1ca438"
|
||||
type="text/javascript"></script>
|
||||
<script
|
||||
src="js/initalize/debug.populate.js?v=f051a64"
|
||||
src="js/initalize/debug.populate.js?v=64ad17f"
|
||||
type="text/javascript"></script>
|
||||
<script
|
||||
src="js/initalize/ui.populate.js?v=0bfe42d"
|
||||
src="js/initalize/ui.populate.js?v=b59b288"
|
||||
type="text/javascript"></script>
|
||||
|
||||
<!-- Deals with webui communication -->
|
||||
|
@ -472,6 +472,191 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -4,22 +4,22 @@
|
|||
<meta charset="utf-8" />
|
||||
<title>openOutpaint 🐠</title>
|
||||
<!-- CSS Variables -->
|
||||
<link href="../css/colors.css?v=3f0d162" rel="stylesheet" />
|
||||
<link href="../css/icons.css?v=665c8c1" rel="stylesheet" />
|
||||
<link href="../css/colors.css?v=3f81e80" rel="stylesheet" />
|
||||
<link href="../css/icons.css?v=a25504c" rel="stylesheet" />
|
||||
|
||||
<link href="../css/index.css?v=6538a62" rel="stylesheet" />
|
||||
<link href="../css/layers.css?v=104d682" rel="stylesheet" />
|
||||
<link href="../css/index.css?v=ef0c943" rel="stylesheet" />
|
||||
<link href="../css/layers.css?v=b4fbf61" rel="stylesheet" />
|
||||
|
||||
<link href="../css/ui/generic.css?v=90f4b50" rel="stylesheet" />
|
||||
<link href="../css/ui/generic.css?v=a15ce4b" rel="stylesheet" />
|
||||
|
||||
<link href="../css/ui/history.css?v=ce2a69a" rel="stylesheet" />
|
||||
<link href="../css/ui/layers.css?v=71d2325" rel="stylesheet" />
|
||||
<link href="../css/ui/toolbar.css?v=dfdf183" rel="stylesheet" />
|
||||
<link href="../css/ui/history.css?v=0b03861" rel="stylesheet" />
|
||||
<link href="../css/ui/layers.css?v=4fd95fe" rel="stylesheet" />
|
||||
<link href="../css/ui/toolbar.css?v=109c78f" rel="stylesheet" />
|
||||
|
||||
<!-- Tool Specific CSS -->
|
||||
<link href="../css/ui/tool/dream.css?v=eff86a8" rel="stylesheet" />
|
||||
<link href="../css/ui/tool/stamp.css?v=85def70" rel="stylesheet" />
|
||||
<link href="../css/ui/tool/colorbrush.css?v=5e5bb2f" rel="stylesheet" />
|
||||
<link href="../css/ui/tool/dream.css?v=2d8a8ac" rel="stylesheet" />
|
||||
<link href="../css/ui/tool/stamp.css?v=6f5ce15" rel="stylesheet" />
|
||||
<link href="../css/ui/tool/colorbrush.css?v=57c8be5" rel="stylesheet" />
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
||||
|
||||
|
@ -108,6 +108,50 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue