| 2284 | } |
| 2285 | |
| 2286 | Json::Value Target::DumpCommandFragment(JBT<std::string> const& frag, |
| 2287 | std::string const& role) |
| 2288 | { |
| 2289 | Json::Value fragment = Json::objectValue; |
| 2290 | fragment["fragment"] = frag.Value; |
| 2291 | if (!role.empty()) { |
| 2292 | fragment["role"] = role; |
| 2293 | } |
| 2294 | this->AddBacktrace(fragment, frag.Backtrace); |
| 2295 | return fragment; |
| 2296 | } |
| 2297 | |
| 2298 | Json::Value Target::DumpDependencies() |
| 2299 | { |
no test coverage detected