├── .gitignore ├── LICENSE ├── README.md ├── circle.yml ├── crypttool ├── examples ├── config.json ├── config.json.tmpl ├── config.yaml ├── config.yaml.tmpl ├── passfile.txt ├── vars.sh └── vars.sh.enc ├── sempl ├── sempl-test.sh └── test ├── fixtures ├── 001_variable_default.tmpl ├── 002_variable_escaping.tmpl ├── 003_variable_expansion.tmpl ├── 004_variable_expansion.tmpl ├── 005_double_quote.tmpl ├── 006_single_quote.tmpl ├── 007_bash_inline.tmpl ├── 008_bash_loop.tmpl ├── 009_varsfile.tmpl ├── 010_symbol_test.tmpl ├── 011_variable_missing.tmpl ├── varsfile.enc ├── varsfile.enc.unenc └── varsfile.txt └── lib └── testdummy /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/README.md -------------------------------------------------------------------------------- /circle.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/circle.yml -------------------------------------------------------------------------------- /crypttool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/crypttool -------------------------------------------------------------------------------- /examples/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/examples/config.json -------------------------------------------------------------------------------- /examples/config.json.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/examples/config.json.tmpl -------------------------------------------------------------------------------- /examples/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/examples/config.yaml -------------------------------------------------------------------------------- /examples/config.yaml.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/examples/config.yaml.tmpl -------------------------------------------------------------------------------- /examples/passfile.txt: -------------------------------------------------------------------------------- 1 | mypassword 2 | -------------------------------------------------------------------------------- /examples/vars.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/examples/vars.sh -------------------------------------------------------------------------------- /examples/vars.sh.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/examples/vars.sh.enc -------------------------------------------------------------------------------- /sempl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/sempl -------------------------------------------------------------------------------- /sempl-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/sempl-test.sh -------------------------------------------------------------------------------- /test/fixtures/001_variable_default.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/test/fixtures/001_variable_default.tmpl -------------------------------------------------------------------------------- /test/fixtures/002_variable_escaping.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/test/fixtures/002_variable_escaping.tmpl -------------------------------------------------------------------------------- /test/fixtures/003_variable_expansion.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/test/fixtures/003_variable_expansion.tmpl -------------------------------------------------------------------------------- /test/fixtures/004_variable_expansion.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/test/fixtures/004_variable_expansion.tmpl -------------------------------------------------------------------------------- /test/fixtures/005_double_quote.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/test/fixtures/005_double_quote.tmpl -------------------------------------------------------------------------------- /test/fixtures/006_single_quote.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/test/fixtures/006_single_quote.tmpl -------------------------------------------------------------------------------- /test/fixtures/007_bash_inline.tmpl: -------------------------------------------------------------------------------- 1 | testvar=$(echo "inline") 2 | -------------------------------------------------------------------------------- /test/fixtures/008_bash_loop.tmpl: -------------------------------------------------------------------------------- 1 | ### begin 2 | # for i in $(seq 1 3); do 3 | $i 4 | # done 5 | ### end 6 | -------------------------------------------------------------------------------- /test/fixtures/009_varsfile.tmpl: -------------------------------------------------------------------------------- 1 | testvar=sourcedvalue 2 | -------------------------------------------------------------------------------- /test/fixtures/010_symbol_test.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/test/fixtures/010_symbol_test.tmpl -------------------------------------------------------------------------------- /test/fixtures/011_variable_missing.tmpl: -------------------------------------------------------------------------------- 1 | testvar=${notset} 2 | -------------------------------------------------------------------------------- /test/fixtures/varsfile.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/test/fixtures/varsfile.enc -------------------------------------------------------------------------------- /test/fixtures/varsfile.enc.unenc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/test/fixtures/varsfile.enc.unenc -------------------------------------------------------------------------------- /test/fixtures/varsfile.txt: -------------------------------------------------------------------------------- 1 | testvar=sourcedvalue 2 | -------------------------------------------------------------------------------- /test/lib/testdummy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextrevision/sempl/HEAD/test/lib/testdummy --------------------------------------------------------------------------------