diff --git a/jo-ui/pom.xml b/jo-ui/pom.xml index 1b48702..0af5117 100644 --- a/jo-ui/pom.xml +++ b/jo-ui/pom.xml @@ -29,10 +29,10 @@ - + + COMMENT: This entry is additional, all the others are the defaults from ax-root ${basedir}/dist @@ -121,7 +121,8 @@ test - run test -- --watch=false + COMMENT + run test - - - -watch=false @@ -229,5 +230,5 @@ - + --> diff --git a/jo-ui/scripts/windows/init.cmd b/jo-ui/scripts/windows/init.cmd deleted file mode 100644 index 5386362..0000000 --- a/jo-ui/scripts/windows/init.cmd +++ /dev/null @@ -1,3 +0,0 @@ -SET "ROOT=%~dp0..\..\" - -powershell "Get-FileHash -Algorithm SHA1 %ROOT%\package.json | Select -expand Hash" > "%ROOT%/node/init" diff --git a/jo-ui/scripts/windows/init.ps1 b/jo-ui/scripts/windows/init.ps1 new file mode 100644 index 0000000..9c6b714 --- /dev/null +++ b/jo-ui/scripts/windows/init.ps1 @@ -0,0 +1,2 @@ +$root = (Get-Item $PSScriptRoot).Parent.Parent.FullName +powershell "Get-FileHash -Algorithm SHA1 $root\package.json | Select -expand Hash" > "$root/node/init" diff --git a/jo-ui/scripts/windows/maps.cmd b/jo-ui/scripts/windows/maps.cmd deleted file mode 100644 index 2b373a3..0000000 --- a/jo-ui/scripts/windows/maps.cmd +++ /dev/null @@ -1,5 +0,0 @@ -SET "ROOT=%~dp0..\..\" -SET "MAPS=%ROOT%dist\maps" - -if not exist "%MAPS%" mkdir "%MAPS%" -MOVE "%1\*.map" "%MAPS%" diff --git a/jo-ui/scripts/windows/maps.ps1 b/jo-ui/scripts/windows/maps.ps1 new file mode 100644 index 0000000..841ba36 --- /dev/null +++ b/jo-ui/scripts/windows/maps.ps1 @@ -0,0 +1,5 @@ +$root = (Get-Item $PSScriptRoot).Parent.Parent.FullName +$maps = "$root\dist\maps" + +New-Item -Path "$maps" -ItemType Directory -Force +Move-Item -Path "$args[0]\*.map" -Destination "$maps"