Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shell tool #29

Open
wants to merge 12 commits into
base: bom_master
Choose a base branch
from
21 changes: 15 additions & 6 deletions source/fab/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@

from fab.tools.ar import Ar
from fab.tools.category import Category
from fab.tools.compiler import (CCompiler, Compiler, FortranCompiler, Gcc,
Gfortran, GnuVersionHandling, Icc, Ifort,
IntelVersionHandling)
from fab.tools.compiler_wrapper import CompilerWrapper, Mpicc, Mpif90
from fab.tools.compiler import (CCompiler, Compiler, Craycc, Crayftn,
FortranCompiler, Gcc, Gfortran, Icc,
Icx, Ifort, Ifx, Nvc, Nvfortran)
from fab.tools.compiler_wrapper import (CompilerWrapper, CrayCc, CrayFtn,
Mpicc, Mpif90)
from fab.tools.flags import Flags
from fab.tools.linker import Linker
from fab.tools.psyclone import Psyclone
from fab.tools.rsync import Rsync
from fab.tools.preprocessor import Cpp, CppFortran, Fpp, Preprocessor
from fab.tools.shell import Shell
from fab.tools.tool import Tool, CompilerSuiteTool
# Order here is important to avoid a circular import
from fab.tools.tool_repository import ToolRepository
Expand All @@ -32,23 +34,30 @@
"CompilerWrapper",
"Cpp",
"CppFortran",
"Craycc",
"CrayCc",
"Crayftn",
"CrayFtn",
"Fcm",
"Flags",
"FortranCompiler",
"Fpp",
"Gcc",
"Gfortran",
"Git",
"GnuVersionHandling",
"Icc",
"Icx",
"Ifort",
"IntelVersionHandling",
"Ifx",
"Linker",
"Mpif90",
"Mpicc",
"Nvc",
"Nvfortran",
"Preprocessor",
"Psyclone",
"Rsync",
"Shell",
"Subversion",
"Tool",
"ToolBox",
Expand Down
1 change: 1 addition & 0 deletions source/fab/tools/category.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class Category(Enum):
SUBVERSION = auto()
AR = auto()
RSYNC = auto()
SHELL = auto()
MISC = auto()

def __str__(self):
Expand Down
Loading