Nimscript: added support for 'patchFile'

This commit is contained in:
Andreas Rumpf 2016-07-09 14:26:00 +02:00
commit 5e82ffc8d5
7 changed files with 52 additions and 3 deletions

View file

@ -1,10 +1,12 @@
discard """
cmd: "nim default $file"
output: '''hello world!'''
output: '''hello world! 0.5'''
msg: '''[NimScript] exec: gcc -v'''
"""
when not defined(definedefine):
{.fatal: "wrong nim script configuration".}
echo "hello world!"
import math
echo "hello world! ", ln 2.0