Skip to content
Snippets Groups Projects
Commit 17af93f2 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Start adding tests before implementing systemd stuff

parent 6b6a9f9e
No related branches found
No related tags found
No related merge requests found
*~
*.bak
/test_install
/mio2
/mio3
Makefile 0 → 100644
TARGETS: mio2 mio3
all: $(TARGETS)
mio2: src/mio.py $(sort $(wildcard src/mio/*.py)) Makefile
(cd src ; apa --interpreter=/usr/bin/python2 \
-o ../$@ $(filter %.py, $(^:src/%=%)))
mio3: src/mio.py $(sort $(wildcard src/mio/*.py)) Makefile
(cd src ; apa --interpreter=/usr/bin/python3 \
-o ../$@ $(filter %.py, $(^:src/%=%)))
test3:
mkdir test_install
./mio3 --noyum \
--path $(realpath tests) \
--prefix test_install \
--install /test/test
clean:
rm -rf test_install
<?xml version="1.0" encoding="UTF-8"?>
<mio name='test' files='.'
scripts='./scripts' mode='0644' dirmode='0755'>
<group name='test'>
<pre command='echo pre $(pwd)'/>
<file name='/tmp/test.mio' source='test.mio'/>
<symlink name='/tmp/copy_of_test.mio' value='test.mio'/>
<post command='echo post $(pwd)'/>
<!--systemd service='x'/>-->
</group>
</mio>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment