Files
main/programming/library/expected/actions.py
T
2020-03-21 00:40:39 +03:00

30 lines
544 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools, shelltools
from pisi.actionsapi import pisitools
def setup():
cmaketools.configure('-B build')
def build():
shelltools.cd('build')
cmaketools.make()
def check():
shelltools.cd('build')
shelltools.system('./tests')
def install():
shelltools.cd('build')
cmaketools.install()
pisitools.dodoc('../COPYING')