mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 12:44:58 +00:00
Removes legacy reference folder and updates script to work correctly
This commit is contained in:
12
.github/scripts/ZipBuildOutput.ps1
vendored
12
.github/scripts/ZipBuildOutput.ps1
vendored
@@ -4,13 +4,13 @@
|
|||||||
# $Env:VERSION = "0.0.0-buildType-test"
|
# $Env:VERSION = "0.0.0-buildType-test"
|
||||||
|
|
||||||
# Sets the root directory for the operation
|
# Sets the root directory for the operation
|
||||||
$destination = "$($Env:GITHUB_WORKSPACE)\output"
|
$destination = "$($Env:GITHUB_HOME)\output"
|
||||||
New-Item -ItemType Directory -Force -Path ($destination)
|
New-Item -ItemType Directory -Force -Path ($destination)
|
||||||
Get-ChildItem ($destination)
|
Get-ChildItem ($destination)
|
||||||
$exclusions = @(git submodule foreach --quiet 'echo $name')
|
$exclusions = @(git submodule foreach --quiet 'echo $name')
|
||||||
# Trying to get any .json schema files (not currently working)
|
# Trying to get any .json schema files (not currently working)
|
||||||
# Gets any files with the listed extensions.
|
# Gets any files with the listed extensions.
|
||||||
Get-ChildItem -recurse -Path "$($Env:GITHUB_WORKSPACE)\*" -include "*.clz", "*.cpz", "*.cplz" | ForEach-Object {
|
Get-ChildItem -recurse -Path "$($Env:GITHUB_WORKSPACE)" -include "*.clz", "*.cpz", "*.cplz" | ForEach-Object {
|
||||||
$allowed = $true;
|
$allowed = $true;
|
||||||
# Exclude any files in submodules
|
# Exclude any files in submodules
|
||||||
foreach ($exclude in $exclusions) {
|
foreach ($exclude in $exclusions) {
|
||||||
@@ -26,16 +26,16 @@ Get-ChildItem -recurse -Path "$($Env:GITHUB_WORKSPACE)\*" -include "*.clz", "*.c
|
|||||||
} | Copy-Item -Destination ($destination) -Force
|
} | Copy-Item -Destination ($destination) -Force
|
||||||
Write-Host "Getting matching files..."
|
Write-Host "Getting matching files..."
|
||||||
# Get any files from the output folder that match the following extensions
|
# Get any files from the output folder that match the following extensions
|
||||||
Get-ChildItem -Path $destination | Where-Object { ($_.Extension -eq ".clz") -or ($_.Extension -eq ".cpz") -or ($_.Extension -eq ".cplz") } | ForEach-Object {
|
Get-ChildItem -Path $destination | Where-Object {($_.Extension -eq ".clz") -or ($_.Extension -eq ".cpz" -or ($_.Extension -eq ".cplz"))} | ForEach-Object {
|
||||||
# Replace the extensions with dll or xml and create an array
|
# Replace the extensions with dll and xml and create an array
|
||||||
$filenames = @($($_ -replace "cpz|clz|cplz", "dll"), $($_ -replace "cpz|clz|cplz", "xml"))
|
$filenames = @($($_ -replace "cpz|clz|cplz", "dll"), $($_ -replace "cpz|clz|cplz", "xml"))
|
||||||
Write-Host "Filenames:"
|
Write-Host "Filenames:"
|
||||||
Write-Host $filenames
|
Write-Host $filenames
|
||||||
if ($filenames.length -gt 0) {
|
if ($filenames.length -gt 0) {
|
||||||
# Attempt to get the files and return them to the output directory
|
# Attempt to get the files and return them to the output directory
|
||||||
Get-ChildItem -Recurse -Path "$($Env:GITHUB_WORKSPACE)" -include $filenames | Copy-Item -Destination ($destination)
|
Get-ChildItem -Recurse -Path "$($Env:GITHUB_WORKSPACE)" -include $filenames | Copy-Item -Destination ($destination) -Force
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Compress-Archive -Path "$($Env:GITHUB_WORKSPACE)\output\*" -DestinationPath "$($Env:GITHUB_WORKSPACE)\$($Env:SOLUTION_FILE)-$($Env:VERSION).zip" -Force
|
Compress-Archive -Path $destination -DestinationPath "$($Env:GITHUB_WORKSPACE)\$($Env:SOLUTION_FILE)-$($Env:VERSION).zip" -Force
|
||||||
Write-Host "Output Contents post Zip"
|
Write-Host "Output Contents post Zip"
|
||||||
Get-ChildItem -Path $destination
|
Get-ChildItem -Path $destination
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,16 +0,0 @@
|
|||||||
<ProgramInfo>
|
|
||||||
<RequiredInfo>
|
|
||||||
<FriendlyName>PepperDashEssentials</FriendlyName>
|
|
||||||
<SystemName>PepperDashEssentialsBase</SystemName>
|
|
||||||
<EntryPoint>PepperDashEssentialsBase</EntryPoint>
|
|
||||||
<MinFirmwareVersion>1.009.0029</MinFirmwareVersion>
|
|
||||||
<ProgramTool>SIMPL# Plugin</ProgramTool>
|
|
||||||
<DesignToolId>5</DesignToolId>
|
|
||||||
<ProgramToolId>5</ProgramToolId>
|
|
||||||
<ArchiveName />
|
|
||||||
</RequiredInfo>
|
|
||||||
<OptionalInfo>
|
|
||||||
<CompiledOn>1/8/2016 3:03:22 PM</CompiledOn>
|
|
||||||
<CompilerRev>1.0.0.27100</CompilerRev>
|
|
||||||
</OptionalInfo>
|
|
||||||
</ProgramInfo>
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,18 +0,0 @@
|
|||||||
MainAssembly=PepperDashEssentialsBase.dll:5d68a993ab03b4b88d0f95478188a439
|
|
||||||
MainAssemblyMinFirmwareVersion=1.009.0029
|
|
||||||
ü
|
|
||||||
DependencySource=Crestron.SimplSharpPro.DeviceSupport.dll:caae4b4259aaf619059f0ae34473bfd2
|
|
||||||
DependencyPath=PepperDashEssentialsBase.cplz:Crestron.SimplSharpPro.DeviceSupport.dll
|
|
||||||
DependencyMainAssembly=Crestron.SimplSharpPro.DeviceSupport.dll:caae4b4259aaf619059f0ae34473bfd2
|
|
||||||
ü
|
|
||||||
DependencySource=Crestron.SimplSharpPro.DM.dll:bdf5acfa80cc3bb87f21deb891128b1d
|
|
||||||
DependencyPath=PepperDashEssentialsBase.cplz:Crestron.SimplSharpPro.DM.dll
|
|
||||||
DependencyMainAssembly=Crestron.SimplSharpPro.DM.dll:bdf5acfa80cc3bb87f21deb891128b1d
|
|
||||||
ü
|
|
||||||
DependencySource=Crestron.SimplSharpPro.EthernetCommunications.dll:36e663497195140ee6f1b4ebc53f5ea7
|
|
||||||
DependencyPath=PepperDashEssentialsBase.cplz:Crestron.SimplSharpPro.EthernetCommunications.dll
|
|
||||||
DependencyMainAssembly=Crestron.SimplSharpPro.EthernetCommunications.dll:36e663497195140ee6f1b4ebc53f5ea7
|
|
||||||
ü
|
|
||||||
DependencySource=Crestron.SimplSharpPro.UI.dll:089312a0cb0b4537072d4eb234e71e0e
|
|
||||||
DependencyPath=PepperDashEssentialsBase.cplz:Crestron.SimplSharpPro.UI.dll
|
|
||||||
DependencyMainAssembly=Crestron.SimplSharpPro.UI.dll:089312a0cb0b4537072d4eb234e71e0e
|
|
||||||
Binary file not shown.
@@ -439,7 +439,7 @@ namespace PepperDash.Essentials.Core.Fusion
|
|||||||
|
|
||||||
void GetTouchpanelInfo()
|
void GetTouchpanelInfo()
|
||||||
{
|
{
|
||||||
// TODO Get IP and Project Name from TP
|
// TODO: Get IP and Project Name from TP
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void FusionRoom_OnlineStatusChange(GenericBase currentDevice, OnlineOfflineEventArgs args)
|
protected void FusionRoom_OnlineStatusChange(GenericBase currentDevice, OnlineOfflineEventArgs args)
|
||||||
|
|||||||
Reference in New Issue
Block a user