File: envvars

package info (click to toggle)
j2cli 0.3.12b-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 368 kB
  • sloc: python: 516; makefile: 30; sh: 14; xml: 2
file content (13 lines) | stat: -rw-r--r-- 534 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

j2 -f env debian/tests/files/nginx.j2.dotenv debian/tests/files/nginx.env > /tmp/nginx.conf
diff debian/tests/files/nginx.conf /tmp/nginx.conf

name=Andrew age=31 j2 debian/tests/files/person.j2 > /tmp/person.xml
diff debian/tests/files/person.xml /tmp/person.xml

age=31 j2 debian/tests/files/person.j2 > /tmp/nameless-person.xml
diff debian/tests/files/nameless-person.xml /tmp/nameless-person.xml

name=Andrew age=31 j2 debian/tests/files/person-2.j2 > /tmp/person.xml
diff debian/tests/files/person.xml /tmp/person.xml