From 9fb791e9fad6c63fc1dac49f4d05ae63b8a3db9b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 5 Jan 2016 11:55:15 +0200 Subject: Rename build directory/namespace to build2 --- build2/test/rule | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 build2/test/rule (limited to 'build2/test/rule') diff --git a/build2/test/rule b/build2/test/rule new file mode 100644 index 0000000..1102876 --- /dev/null +++ b/build2/test/rule @@ -0,0 +1,30 @@ +// file : build2/test/rule -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BUILD2_TEST_RULE +#define BUILD2_TEST_RULE + +#include +#include + +namespace build2 +{ + namespace test + { + class rule: public build2::rule + { + public: + virtual match_result + match (action, target&, const std::string&) const; + + virtual recipe + apply (action, target&, const match_result&) const; + + static target_state + perform_test (action, target&); + }; + } +} + +#endif // BUILD2_TEST_RULE -- cgit v1.1