geany-plugins update, ctpl and cppcheck add

This commit is contained in:
Erkan IŞIK
2020-04-16 16:06:18 +03:00
parent 615a898079
commit 00860c2c22
9 changed files with 308 additions and 21 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
t = 'FILESDIR=/usr/share/cppcheck CFGDIR=/usr/share/cppcheck/cfg'
def build():
pisitools.cxxflags.add("-DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function")
autotools.make("MATCHCOMPILER=yes %s HAVE_RULES=yes" % t)
def check():
autotools.make("check %s" % t)
def install():
autotools.rawInstall("DESTDIR=%s %s" % (get.installDIR(), t))
pisitools.dodoc("AUTHORS", "COPYING", "readme*")