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.

Use Task instead of Command

See original GitHub issue

this would simplify confusion around #63 and #66 because it is very unusual to use contextual syntax ; project foo ; dockerComposeUp ; project root where it is intuitive to use foo/dockerComposeUp

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
fommilcommented, Aug 15, 2017

that’s because I don’t think dockerComposeTest is a good way to do it. We use dockerComposeUp to bring up the docker compose fleet and then run integration and functional tests against those containers.

1reaction
fommilcommented, May 11, 2017

ok, reading 27 it sounds like you haven’t discovered http://www.scala-sbt.org/0.13/docs/Howto-Dynamic-Task.html

I have also been guilty of using Command to “get it done” but almost everything is better as a Task.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tasks in Visual Studio Code
You can create user level tasks that are not tied to a specific workspace or folder using the Tasks: Open User Tasks command....
Read more >
Use the at command to schedule tasks - Windows Client
Describes how to use the at command to create and to cancel scheduled tasks.
Read more >
Using Task.Run in Conjunction with Async/Await | Pluralsight
Run with an I/O operation, you're creating a thread (and probably occupying a CPU core) that will mostly be waiting.
Read more >
Differences and similarities between Tasks and Commands in ...
A “command” looks similar to a task: it's a named operation that can be executed from the sbt console. So for now I...
Read more >
task - Cypress Documentation
The task plugin event handler can return a value or a promise. The command will fail if undefined is returned or if the...
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