parameters: (self)
return_statement: return rules_buf
docstring: Generates SConstruct script.
docstring_summary: Generates SConstruct script.
docstring_tokens: Generates SConstruct script .
function: def generate_scons_script(self):
          """Generates SConstruct script. """
          rules_buf = self.scons_file_header_generator.generate(self.blade_path)
          rules_buf += self.blade.gen_targets_rules()
  
          # Write to SConstruct
          self.scons_file_fd = open(self.scons_path, 'w')
          self.scons_file_fd.writelines(rules_buf)
          self.scons_file_fd.close()
          return rules_buf
function_tokens: def generate_scons_script ( self ) : rules_buf = self . scons_file_header_generator . generate ( self . blade_path ) rules_buf += self . blade . gen_targets_rules ( ) # Write to SConstruct self . scons_file_fd = open ( self . scons_path , 'w' ) self . scons_file_fd . writelines ( rules_buf ) self . scons_file_fd . close ( ) return rules_buf