Example #1
0
def build_(contract_dir_hint,
           c_cpp_properties_path="",
           compile_only=False,
           silent=False):

    verbosity = [] if silent else None
    if not compile_only:
        teos.ABI(contract_dir_hint, c_cpp_properties_path, verbosity)
    teos.WASM(contract_dir_hint, c_cpp_properties_path, compile_only,
              verbosity)
Example #2
0
 def build_wast(self):
     '''Make the WAST file.
     '''
     teos.WASM(self.contract_dir, self.c_cpp_properties_path)
Example #3
0
 def build_wast(self):
     '''Make the WAST file.
     '''
     teos.WASM(self.contract_dir)
Example #4
0
def build_(contract_dir_hint, compile_only=False, silent=False):

    verbosity = [] if silent else None
    if not compile_only:
        teos.ABI(contract_dir_hint, None, verbosity)
    teos.WASM(contract_dir_hint, None, compile_only, verbosity)