aboutsummaryrefslogtreecommitdiff
path: root/libbutl/manifest-parser.bash
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-13 15:35:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-07-13 15:35:30 +0200
commit1f2a98dec70699905cf1a4c9ba48ad6397448a9a (patch)
tree13069e0c35e95efcb1abeca78b699a4b43ccbb7b /libbutl/manifest-parser.bash
parent2aac6bb4b179a45908cd9d8c6656fef671c24042 (diff)
Add manifest parser stub
Diffstat (limited to 'libbutl/manifest-parser.bash')
-rw-r--r--libbutl/manifest-parser.bash10
1 files changed, 10 insertions, 0 deletions
diff --git a/libbutl/manifest-parser.bash b/libbutl/manifest-parser.bash
index 4de96a6..5fa53ce 100644
--- a/libbutl/manifest-parser.bash
+++ b/libbutl/manifest-parser.bash
@@ -1,3 +1,13 @@
# file : libbutl/manifest-parser.bash
# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
+
+function parse_manifest ()
+{
+ printf ": 1\0"
+ printf "name: foo\0"
+ printf "version: 1.2.3\0"
+ printf "description: foo\nexecutable\0"
+ printf "depends: libfoo\0"
+ printf "depends: libbar\0"
+}