blob: e22371dd45b595127ca8e3fe7efa6f17664eb835 [file] [log] [blame]
cue import binary --ext crt .
cmp x.cue out/expect.cue
cue export bin.cue --out binary
cmp stdout out/bin
# TODO: txtarscript should distinguish final newline
cue export str.cue --out binary
cmp stdout out/str
-- x.crt --
1234
-- y.crt2 --
// Skip this file, wrong extension.
-- bin.cue --
'''
foo
'''
-- str.cue --
"""
foo
"""
-- out/bin --
foo
-- out/str --
foo
-- out/expect.cue --
'''
1234
'''