Comments (13)
CC @tmat
from arcade.
There appears to be a number of things that are not used or inconsistent in the build.ps1 script. What is our plan and strategy for maintaining that script?
from arcade.
@jaredpar Is it possible to configure PowerShell to allow boolean switches to be passed multiple times?
build.cmd
is simply a shortcut for build\Build.ps1 -restore -build
restore.cmd
is a shortcut for build\Build.ps1 -restore
I don't really want to make these scripts super-complicated to adjust their help output on what parameters are already specified in the cmd
file.
Perhaps we will be able to do something better once we have dotnet local tools feature.
from arcade.
@weshaggard The script is the same across repos using RepoToolset (to be precise, we have 2 variations of the script: one for repos building using VS msbuild and another one for those building using dotnet cli).
Some repos might not need some parameters (like test, integration test, etc.) and that's ok.
Re maintaining - I'm looking into using Meastro to make it easy to update this scriptin all repos easily.
from arcade.
Re maintaining - I'm looking into using Meastro to make it easy to update this scriptin all repos easily.
We have an issue dotnet/buildtools#1709 tracking a similar feature. We should work together to come up with a way to keep these scripts updated.
from arcade.
Is it possible to configure PowerShell to allow boolean switches to be passed multiple times?
Don't think so unfortunately.
I don't really want to make these scripts super-complicated to adjust their help output on what parameters are already specified in the cmd file.
Understood.
Mostly I wanted a way to "restore only". I could invoke build.ps1 directly with that. De-values Build.cmd a bit though.
from arcade.
Mostly I wanted a way to "restore only".
There is restore.cmd
in the root.
from arcade.
Understood. I typically only use the build file though.
How do we see the flags build.cmd is passing by default? Maybe that's the solution. Knowing what flags are already set so i know when to go to build.ps1
from arcade.
How do we see the flags build.cmd is passing by default?
Not sure what you mean?
type build.cmd
?
from arcade.
type build.cmd ?
That just tells me the help of the ps1 file. What I'm curious about is what arguments does Build.cmd pass by default. On a Mac at the moment so I'm going off what I'm reading in the Build.cmd file vs. actually executing.
Note: I've run into this exact problem in Roslyn and what we pass by default vs. what is in build.ps1. I don't have a good answer either. Other than possibly change build.ps1 to a different name so that it doesn't have the appearance of being a simple pass through from build.cmd.
from arcade.
Re maintaining - I'm looking into using Meastro to make it easy to update this scriptin all repos easily.
We have an issue dotnet/buildtools#1709 tracking a similar feature. We should work together to come up with a way to keep these scripts updated.
My naïve, yet prototyped, proposal for a similar feature was https://github.com/chcosta/roslyn-tools/blob/bootstrap/docs/Toolset-Bootstrap.md#obtaining-the-toolset
from arcade.
Add to a prodcon epic
from arcade.
Closing because the parent Epic was closed. If you believe this issue should still be worked on, please re-open.
from arcade.
Related Issues (20)
- [1ES Template] Migrate Core mirror HOT 1
- Update arcade-validation to use windows 11 helix queues over windows 10. HOT 2
- Updates to the docker eol report HOT 1
- Allow building with newer clang versions without changing init-compilers.sh. HOT 1
- RemoteExecutor field marshaling failure when in Live Unit Testing HOT 1
- Delete Validate Publishing in arcade-validation HOT 2
- "5 new packages used not in baseline!" after pulling the latest arcade from .Net 7 Eng channel HOT 23
- [Build Analysis] GitHub Throttling issues
- Update MicroBuildSigningPlugin to version 4 HOT 2
- Fix up devdiv pool usage in official arcade templates HOT 7
- Remove `-pt` image use HOT 2
- CA2022 error in src/SignCheck/Microsoft.SignCheck/Verification/LZMAUtils.cs
- Tools.csproj makes it hard to use central package management HOT 3
- Determine why SB break wasn't caught in arcade-validation
- Change the default dotnet installation location from `.dotnet/` to `.dotnet/$hostRid/` HOT 1
- Arcade incorrectly determines NuGet cache location HOT 1
- When NetPrevious is set to empty, some projects have unexpected behavior HOT 2
- Tests marked with `OuterLoop` attribute ignore `-notrait category=failing` HOT 2
- Template refactoring broke enablePublishTestResults with empty testResultsFormat HOT 2
- Build logs are no longer gathered and published on error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcade.