aboutsummaryrefslogtreecommitdiff
path: root/mod/build.hxx
blob: 7ae7f95d8f40b52d74a85212ab8952d4b86c50dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// file      : mod/build.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2019 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