summaryrefslogtreecommitdiff
path: root/tools/minicargo/manifest.h
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2017-08-30 21:08:51 +0800
committerJohn Hodge <tpg@mutabah.net>2017-08-31 16:31:24 +0800
commit5dce4fe24f29818b250eda177c68da5e2c7ee487 (patch)
tree5293dec3a5d154634ae211fe60997afd4bbccd67 /tools/minicargo/manifest.h
parent4e9adae0c15e163290426db1c7d1956abc4c56f5 (diff)
downloadmrust-5dce4fe24f29818b250eda177c68da5e2c7ee487.tar.gz
minicargo - Build scripts working (mostly)
Diffstat (limited to 'tools/minicargo/manifest.h')
-rw-r--r--tools/minicargo/manifest.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/minicargo/manifest.h b/tools/minicargo/manifest.h
index a17db929..8baf766e 100644
--- a/tools/minicargo/manifest.h
+++ b/tools/minicargo/manifest.h
@@ -241,6 +241,9 @@ public:
const PackageTarget& get_library() const;
+ const ::helpers::path directory() const {
+ return ::helpers::path(m_manifest_path).parent();
+ }
const ::std::string& manifest_path() const {
return m_manifest_path;
}