diff options
Diffstat (limited to 'build2/bash/utility.hxx')
-rw-r--r-- | build2/bash/utility.hxx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/build2/bash/utility.hxx b/build2/bash/utility.hxx deleted file mode 100644 index 31a6b99..0000000 --- a/build2/bash/utility.hxx +++ /dev/null @@ -1,27 +0,0 @@ -// file : build2/bash/utility.hxx -*- C++ -*- -// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BUILD2_BASH_UTILITY_HXX -#define BUILD2_BASH_UTILITY_HXX - -#include <libbuild2/types.hxx> -#include <libbuild2/utility.hxx> - -namespace build2 -{ - namespace bash - { - // Strip the .bash extension from the project name. - // - // Note that the result may not be a valid project name. - // - inline string - project_base (const project_name& pn) - { - return pn.base ("bash"); - } - } -} - -#endif // BUILD2_BASH_UTILITY_HXX |