File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : python
2
+
3
+ python :
4
+ - 3.5
5
+ - 3.6
6
+
7
+ install :
8
+ - pip install .
9
+
10
+ script :
11
+ - |
12
+ cat <<EOF >codeplug.cfg
13
+ [codeplug]
14
+ key = $(head -c32 /dev/urandom | base64 -w0)
15
+ iv = $(head -c16 /dev/urandom | base64 -w0)
16
+ signing_key = $(openssl genrsa 1024 | sed 's/^/ /')
17
+ EOF
18
+ - echo '<LTD_CODEPLUG VERSION="10.05.06"/>' >test.xml
19
+ - python codeplug.py build test.xml
20
+ - python codeplug.py decode test.xml.ctb
21
+ - diff -u test.xml test.xml.ctb.xml
Original file line number Diff line number Diff line change 1
1
codeplug
2
2
========
3
3
4
+ .. image :: https://img.shields.io/travis/george-hopkins/codeplug/master.svg
5
+ :target: https://travis-ci.org/george-hopkins/codeplug
6
+ :alt: Build Status
4
7
.. image :: https://img.shields.io/pypi/v/codeplug.svg
5
8
:target: https://pypi.python.org/pypi/codeplug/
6
9
:alt: Latest Version
You can’t perform that action at this time.
0 commit comments