This repository has been archived by the owner on Jul 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c253bad
commit 3cd9299
Showing
19 changed files
with
823 additions
and
159 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,30 @@ | ||
Remove-Item Sutil.Shoelace -R -Force -ErrorAction Ignore; | ||
[CmdletBinding()] | ||
param ( | ||
[Parameter(Mandatory = $true)] | ||
[string] | ||
$library = "shoelace" | ||
) | ||
|
||
$project = $library -eq "shoelace" ? "Sutil.Shoelace" : "Sutil.Fast" | ||
|
||
$root = Get-Location | ||
|
||
|
||
Remove-Item $library -R -Force -ErrorAction Ignore; | ||
Remove-Item dist -R -Force -ErrorAction Ignore; | ||
dotnet tool restore | ||
dotnet run -C Release | ||
set-location $root/src/Generator | ||
dotnet run -C Release -- -cs $library | ||
if ($LASTEXITCODE -gt 0) { | ||
Exit 1 | ||
} | ||
dotnet build src/Sutil.Shoelace/Sutil.Shoelace | ||
dotnet build | ||
if ($LASTEXITCODE -gt 0) { | ||
Exit 1 | ||
} | ||
dotnet fable --cwd src/Sutil.Shoelace/Sutil.Shoelace | ||
Set-Location $root | ||
dotnet fable --cwd src/$project | ||
if ($LASTEXITCODE -gt 0) { | ||
Exit 1 | ||
} | ||
dotnet pack src/Sutil.Shoelace/Sutil.Shoelace -o dist | ||
dotnet pack src/$project -o dist |
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 |
---|---|---|
@@ -1,11 +1,10 @@ | ||
{ | ||
"private": true, | ||
"dependencies": { | ||
"@microsoft/fast-components": "^1.21.6", | ||
"@shoelace-style/shoelace": "^2.0.0-beta.43" | ||
"@microsoft/fast-components": "1.21.6", | ||
"@shoelace-style/shoelace": "2.0.0-beta.43" | ||
}, | ||
"peerDependencies": { | ||
"@microsoft/fast-foundation": "1.24.6", | ||
"lodash-es": "4.17.21" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.