question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make build call install

See original GitHub issue

There is a particular design aspect of the .NET Core CLI that I like. By default,

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 and
  • dotnet 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:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
loreanvictorcommented, Jun 13, 2020

codedoc serve doesn’t directly call codedoc build, it rather invokes the build() function from @codedoc/core library (alongside rebuild() for iterative rebuilding).

1reaction
TysonMNcommented, Jun 13, 2020

I agree with all that.

If you did decide to do this though, codedoc serve would only need to call codedoc build --no-install (or whatever).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found