Rename derivedPathsWithHintsToJSON -> builtPathsToJSON
This commit is contained in:
parent
62960f3291
commit
e7a5b76844
|
@ -64,7 +64,7 @@ nlohmann::json stuffToJSON(const std::vector<T> & ts, ref<Store> store) {
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
nlohmann::json derivedPathsWithHintsToJSON(const BuiltPaths & buildables, ref<Store> store)
|
nlohmann::json builtPathsToJSON(const BuiltPaths & buildables, ref<Store> store)
|
||||||
{ return stuffToJSON<BuiltPath>(buildables, store); }
|
{ return stuffToJSON<BuiltPath>(buildables, store); }
|
||||||
nlohmann::json derivedPathsToJSON(const DerivedPaths & paths, ref<Store> store)
|
nlohmann::json derivedPathsToJSON(const DerivedPaths & paths, ref<Store> store)
|
||||||
{ return stuffToJSON<DerivedPath>(paths, store); }
|
{ return stuffToJSON<DerivedPath>(paths, store); }
|
||||||
|
|
|
@ -125,7 +125,7 @@ struct BuiltPath : _BuiltPathRaw {
|
||||||
typedef std::vector<DerivedPath> DerivedPaths;
|
typedef std::vector<DerivedPath> DerivedPaths;
|
||||||
typedef std::vector<BuiltPath> BuiltPaths;
|
typedef std::vector<BuiltPath> BuiltPaths;
|
||||||
|
|
||||||
nlohmann::json derivedPathsWithHintsToJSON(const BuiltPaths & buildables, ref<Store> store);
|
nlohmann::json builtPathsToJSON(const BuiltPaths & buildables, ref<Store> store);
|
||||||
nlohmann::json derivedPathsToJSON(const DerivedPaths & , ref<Store> store);
|
nlohmann::json derivedPathsToJSON(const DerivedPaths & , ref<Store> store);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,7 +78,7 @@ struct CmdBuild : InstallablesCommand, MixDryRun, MixJSON, MixProfile
|
||||||
Realise::Outputs,
|
Realise::Outputs,
|
||||||
installables, buildMode);
|
installables, buildMode);
|
||||||
|
|
||||||
if (json) logger->cout("%s", derivedPathsWithHintsToJSON(buildables, store).dump());
|
if (json) logger->cout("%s", builtPathsToJSON(buildables, store).dump());
|
||||||
|
|
||||||
if (outLink != "")
|
if (outLink != "")
|
||||||
if (auto store2 = store.dynamic_pointer_cast<LocalFSStore>())
|
if (auto store2 = store.dynamic_pointer_cast<LocalFSStore>())
|
||||||
|
|
Loading…
Reference in a new issue