diff options
author | Adam Chlipala <adam@chlipala.net> | 2014-07-31 09:56:41 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2014-07-31 09:56:41 -0400 |
commit | 3154131cddb8bc8fe76b86bd9f4902f1d531bce6 (patch) | |
tree | 94c286505de9c26af97dc420ae0c4c6aa11fd21b /tests | |
parent | 08bbe52588b9d195295f1b5aca14c88a9ae3ea3c (diff) |
New .urp directive: file
Diffstat (limited to 'tests')
-rw-r--r-- | tests/files.ur | 1 | ||||
-rw-r--r-- | tests/files.urp | 6 | ||||
-rw-r--r-- | tests/hello.txt | 1 | ||||
-rw-r--r-- | tests/web.png | bin | 0 -> 9565 bytes |
4 files changed, 8 insertions, 0 deletions
diff --git a/tests/files.ur b/tests/files.ur new file mode 100644 index 00000000..94cf8eb1 --- /dev/null +++ b/tests/files.ur @@ -0,0 +1 @@ +fun main () : transaction page = return <xml>Main page</xml> diff --git a/tests/files.urp b/tests/files.urp new file mode 100644 index 00000000..100992e5 --- /dev/null +++ b/tests/files.urp @@ -0,0 +1,6 @@ +rewrite all Files/* +file /hello_world.txt hello.txt +file /img/web.png web.png +file /files.urp files.urp + +files diff --git a/tests/hello.txt b/tests/hello.txt new file mode 100644 index 00000000..980a0d5f --- /dev/null +++ b/tests/hello.txt @@ -0,0 +1 @@ +Hello World! diff --git a/tests/web.png b/tests/web.png Binary files differnew file mode 100644 index 00000000..17548060 --- /dev/null +++ b/tests/web.png |