diff options
| author | Tom Harley | 2018-05-13 23:53:42 +0100 |
|---|---|---|
| committer | Tom Harley | 2018-05-13 23:53:42 +0100 |
| commit | 3143763fc098ce2c46b84e38c6cedabbf4622fa2 (patch) | |
| tree | 26038240ae5ad8e1ecb2d0629ea124ef735a0adc /tm.nim | |
| parent | Initial commit (diff) | |
| download | machines-3143763fc098ce2c46b84e38c6cedabbf4622fa2.tar.gz machines-3143763fc098ce2c46b84e38c6cedabbf4622fa2.zip | |
Reorganise project structure
Diffstat (limited to 'tm.nim')
| -rw-r--r-- | tm.nim | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -1,18 +0,0 @@ -import os - -import lib - -const tmname {.strdefine.}: string = "" - -when tmname.len > 0: - const tmd = parse(slurp(tmname & ".tm")) - if paramCount() >= 1: - echo makeDTM(tmd, paramStr(1)).test(false) - else: - echo "please specify a single string argument" -else: - if paramCount() >= 2: - let tmd = parse(readFile(paramStr(1) & ".tm")) - echo makeDTM(tmd, paramStr(2)).test(true) - else: - echo "please specify a description and string input" |
