aboutsummaryrefslogtreecommitdiff
path: root/build2/bash/target.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-01 16:17:09 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-01 16:41:08 +0300
commit930ae81f85e5ee5ac37311f5e9c89000fbcb59a6 (patch)
treed14c8a341f16fb6c485bfa4212bc1002fe52ed6b /build2/bash/target.cxx
parentda9cbf29c403d27c2940f9b31199c4648f8ae4a1 (diff)
Move bash build system module to separate library
Diffstat (limited to 'build2/bash/target.cxx')
-rw-r--r--build2/bash/target.cxx30
1 files changed, 0 insertions, 30 deletions
diff --git a/build2/bash/target.cxx b/build2/bash/target.cxx
deleted file mode 100644
index e843d53..0000000
--- a/build2/bash/target.cxx
+++ /dev/null
@@ -1,30 +0,0 @@
-// file : build2/bash/target.cxx -*- C++ -*-
-// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
-// license : MIT; see accompanying LICENSE file
-
-#include <build2/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<var_extension, bash_ext_def>,
- &target_pattern_var<var_extension, bash_ext_def>,
- nullptr,
- &file_search,
- false
- };
- }
-}