summaryrefslogtreecommitdiff
path: root/tests/mktest.sh
blob: 126aebc6fcab564832bae7fee161c5e1758ca460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

mkdir "$1"
touch "$1/test.tpl"
touch "$1/want"

echo '<?php

use kch42\ste\STECore;

function test_func(STECore $ste)
{

}' > "$1/code.php"

echo 'have
*.ast
*.transc.php' > "$1/.gitignore"