aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bash/target.cxx
blob: 386842b35527d4e0e091442c2e9cb5e437b07585 (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
// file      : libbuild2/bash/target.cxx -*- C++ -*-
// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

#include <libbuild2/bash/target.hxx>

#include <libbuild2/context.hxx>

using namespace std;

namespace build2
{
  namespace bash
  {
    extern const char bash_ext_def[] = "bash";

    const target_type bash::static_type
    {
      "bash",
      &file::static_type,
      &target_factory<bash>,
      nullptr, /* fixed_extension */
      &target_extension_var<bash_ext_def>,
      &target_pattern_var<bash_ext_def>,
      nullptr,
      &file_search,
      false
    };
  }
}