Make build call install
See original GitHub issueThere is a particular design aspect of the .NET Core CLI that I like. By default,
- executing
dotnet build
implicitly executesdotnet restore
and - executing
dotnet publish
implicitly executesdotnet build
.
I like this API because I think it makes it easier to achieve the behave the user actually wants. I prefer this behavior when I am manually executing commands.
But sometimes it can be helpful to execute a build without a restore or a publish without a build. This is possible by executing
dotnet build --no-restore
anddotnet publish --no-build
(which implicitly sets--no-restore
).
I prefer this behavior when doing automated builds, because when some part fails, I think it is easier to determine what part failed.
What about changing the codedoc CLI to behave similarly?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
The magic behind configure, make, make install - Thoughtbot
The configure script is responsible for getting ready to build the software on your specific system. It makes sure all of the dependencies...
Read more >Building and Installing Software Packages for Linux: Using Make
3. Using Make · Read the README file and other applicable docs. · Run xmkmf -a, or the INSTALL or configure script. ·...
Read more >What does 'make install' do? - Super User
When you do "make install", the make program takes the binaries from the previous step and copies them into some appropriate locations so...
Read more >Installing Software: Makefiles and the make command - IU Blogs
make install installs the program by copying the binaries into the correct places as defined by ./configure and the Makefile. Some Makefiles do ......
Read more >How To Build and Install Go Programs - DigitalOcean
To do this, you can use the Go toolchain to build and install your program. ... Create a directory called greeter in your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
codedoc serve
doesn’t directly callcodedoc build
, it rather invokes thebuild()
function from@codedoc/core
library (alongsiderebuild()
for iterative rebuilding).I agree with all that.
If you did decide to do this though,
codedoc serve
would only need to callcodedoc build --no-install
(or whatever).