aboutsummaryrefslogtreecommitdiff
path: root/mod/build.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/build.hxx')
-rw-r--r--mod/build.hxx31
1 files changed, 31 insertions, 0 deletions
diff --git a/mod/build.hxx b/mod/build.hxx
new file mode 100644
index 0000000..94c270b
--- /dev/null
+++ b/mod/build.hxx
@@ -0,0 +1,31 @@
+// file : mod/build.hxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef MOD_BUILD_HXX
+#define MOD_BUILD_HXX
+
+#include <libbrep/types.hxx>
+#include <libbrep/utility.hxx>
+
+#include <libbrep/build.hxx>
+
+// Various package build-related utilities.
+//
+namespace brep
+{
+ // Return the package build log url. By default the url is to the operations
+ // combined log.
+ //
+ string
+ build_log_url (const string& host, const dir_path& root,
+ const build&,
+ const string* operation = nullptr);
+
+ // Return the package build forced rebuild url.
+ //
+ string
+ build_force_url (const string& host, const dir_path& root, const build&);
+}
+
+#endif // MOD_BUILD_HXX