aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bash/target.cxx
blob: 6fa7cf490087f8cd881a3ab0ee2e9f41ff156463 (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
// file      : libbuild2/bash/target.cxx -*- C++ -*-
// 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
    };
  }
}