~longsleep/snapcraft/snapcraft-debs-plugin

« back to all changes in this revision

Viewing changes to snapcraft/plugins/cmake.py

  • Committer: Snappy Tarmac
  • Author(s): Sergio Schvezov
  • Date: 2015-10-26 15:25:06 UTC
  • mfrom: (250.2.4 work)
  • Revision ID: snappy_tarmac-20151026152506-7hqsn1kftvqcuncl
Plugins raise exception instead of true/false by sergiusens approved by elopio

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        self.build_packages.append('cmake')
40
40
 
41
41
    def build(self):
42
 
        return self.run(['cmake', '.', '-DCMAKE_INSTALL_PREFIX='] +
43
 
                        self.options.configflags) and super().build()
 
42
        self.run(['cmake', '.', '-DCMAKE_INSTALL_PREFIX='] +
 
43
                 self.options.configflags)
 
44
        super().build()