-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding supoprt for linear/circular polarization (#56)
* Release scripts * Fixed version string * Run RFS in any case * Better settings parsing * Using different jobs * Reviewing retractor behavior * Different method for computing positions * Modified build scripts * Keeping debug_image * Informing user & logging with DI * Using injected entities * removed unused setting * Fixed message formatting * Changed default settins * Simplifying camera usage * Improved shutter handling * Fixed Shutter Action * Trimming debug code * Refactoring * Renaming cycle types * Backwards-compatibility for target deserialization * Refactored model * Injecting logger and user notifier * Modifying enum displayed text in job settings window * More flexible conversion * Extension methods for CycleType * Rearranging job settings * Changed wording * Adding circular polarimetry * Marked problematic code paths * Updating gitignore * Enum representations * Implementing Enum -> String conversion * Migrating codebase * Storing additional field in EnumNameRep * Implementing enum parsing * Refactoring Helpers & Converters * Refactoring * Refactoring * Fixed Debug camera * Drawing polarization symbol * Recording instrument regime in FITS * Fixed errors * Improving layout * Fixed Debug Camera image area * Notifying if the cycle type has changed * Fixed typo
- Loading branch information
1 parent
54effe5
commit 6e8a71e
Showing
41 changed files
with
1,400 additions
and
715 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
param ( | ||
[string]$PathToSrc, | ||
[string]$OutputDir = "./Releases", | ||
[string]$Arch = "x64", | ||
[string]$Configuration = "Release" | ||
) | ||
|
||
$csprojPath = "$PathToSrc/DIPOL-UF/DIPOL-UF.csproj" | ||
|
||
# Restore and build project | ||
MSBuild.exe $csprojPath -t:restore -verbosity:minimal | ||
MSBuild.exe $csprojPath -p:Configuration=$Configuration -p:Platform=$Arch -verbosity:minimal | ||
|
||
$regex = [System.Text.RegularExpressions.Regex]::new("^\s*\[assembly:\s*AssemblyVersion\s*\(\s*`"(\d+\.\d+.\d+)`"\s*\)\s*\]"); | ||
|
||
# Finds version string in the AssemblyInfo.cs | ||
$version = Get-Content "$PathToSrc/DIPOL-UF/Properties/AssemblyInfo.cs" | ` | ||
ForEach-Object {$regex.Matches($_)} | ` | ||
Where-Object {$_.Success} | ` | ||
ForEach-Object {$_.Groups[1].Value} | ||
|
||
# Creates output directory if it is missing | ||
$dir = "$OutputDir/DIPOL-UF_$($Configuration)_$($Arch)_v$version" | ||
New-Item $dir -Force -ItemType Directory -ErrorAction SilentlyContinue | ||
|
||
# Copies items one by one | ||
Get-ChildItem "$PathToSrc/DIPOL-UF/bin/$Arch/$Configuration/" | ` | ||
ForEach-Object {Copy-Item -Path $($_.FullName) -Destination "$dir\"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
param ( | ||
[string]$PathToSrc, | ||
[string]$OutputDir = "./Hosts", | ||
[string]$Arch = "x64", | ||
[string]$Configuration = "Release" | ||
) | ||
|
||
$csprojPath = "$PathToSrc/Host/Host.csproj" | ||
|
||
# Restore and build project | ||
MSBuild.exe $csprojPath -t:restore -verbosity:minimal | ||
MSBuild.exe $csprojPath -p:Configuration=$Configuration -p:Platform=$Arch -verbosity:minimal | ||
|
||
$regex = [System.Text.RegularExpressions.Regex]::new("^\s*\[assembly:\s*AssemblyVersion\s*\(\s*`"(\d+\.\d+.\d+)`"\s*\)\s*\]"); | ||
|
||
# Finds version string in the AssemblyInfo.cs | ||
$version = Get-Content "$PathToSrc/Host/Properties/AssemblyInfo.cs" | ` | ||
ForEach-Object {$regex.Matches($_)} | ` | ||
Where-Object {$_.Success} | ` | ||
ForEach-Object {$_.Groups[1].Value} | ||
|
||
# Creates output directory if it is missing | ||
$dir = "$OutputDir/Host_$($Configuration)_$($Arch)_v$version" | ||
New-Item $dir -Force -ItemType Directory -ErrorAction SilentlyContinue | ||
|
||
# Copies items one by one | ||
Get-ChildItem "$PathToSrc/Host/bin/$Arch/$Configuration/" | ` | ||
ForEach-Object {Copy-Item -Path $($_.FullName) -Destination "$dir\"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.