aboutsummaryrefslogtreecommitdiff
path: root/build2/version/utility.hxx
blob: 7b012e45961a2dd0c6ddd1c0252c2b56f1deb3fb (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
// file      : build2/version/utility.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

#ifndef BUILD2_VERSION_UTILITY_HXX
#define BUILD2_VERSION_UTILITY_HXX

#include <build2/types.hxx>
#include <build2/utility.hxx>

#include <build2/filesystem.hxx>

namespace build2
{
  namespace version
  {
    // Re-serialize the manifest fixing up the version. Note that this will
    // not preserve comments. Probably acceptable for snapshots.
    //
    auto_rmfile
    fixup_manifest (const path& in, path out, const standard_version&);
  }
}

#endif // BUILD2_VERSION_UTILITY_HXX