You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by bp...@apache.org on 2016/01/14 12:45:02 UTC
celix git commit: CELIX-236: add project deployment,
fixed include path
Repository: celix
Updated Branches:
refs/heads/feature/CELIX-236_celix-boostrap 6a56692b7 -> a4939dee8
CELIX-236: add project deployment, fixed include path
Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/a4939dee
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/a4939dee
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/a4939dee
Branch: refs/heads/feature/CELIX-236_celix-boostrap
Commit: a4939dee831659ec4925300b70765a6bab49eba8
Parents: 6a56692
Author: Bjoern Petri <bp...@apache.org>
Authored: Thu Jan 14 12:44:19 2016 +0100
Committer: Bjoern Petri <bp...@apache.org>
Committed: Thu Jan 14 12:44:19 2016 +0100
----------------------------------------------------------------------
.../bootstrap/templates/project/deploy.cmake | 32 ++++++++++++++++++++
1 file changed, 32 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/celix/blob/a4939dee/celix-bootstrap/celix/bootstrap/templates/project/deploy.cmake
----------------------------------------------------------------------
diff --git a/celix-bootstrap/celix/bootstrap/templates/project/deploy.cmake b/celix-bootstrap/celix/bootstrap/templates/project/deploy.cmake
new file mode 100644
index 0000000..899c83b
--- /dev/null
+++ b/celix-bootstrap/celix/bootstrap/templates/project/deploy.cmake
@@ -0,0 +1,32 @@
+#{{
+#import fnmatch
+#import os
+#import yaml
+#
+#project = None
+#bundle = None
+#
+#with open(projectFile) as input :
+# project = yaml.load(input)
+#
+#cog.outl("deploy( \"%s\" BUNDLES" % project['name'])
+#cog.outl("\t${CELIX_BUNDLES_DIR}/shell.zip")
+#cog.outl("\t${CELIX_BUNDLES_DIR}/shell_tui.zip")
+#cog.outl("\t${CELIX_BUNDLES_DIR}/log_service.zip")
+#
+#
+#for root, dirs, filenames in os.walk('.'):
+# for foundFile in fnmatch.filter(filenames, 'bundle.yaml'):
+# bundleFile = root + '/' + foundFile
+# with open(bundleFile) as input :
+# bundle = yaml.load(input)
+# cog.outl("\t%s" % bundle['name'])
+#
+#}}
+deploy( "mybundle" BUNDLES #do not edit, generated code
+ ${CELIX_BUNDLES_DIR}/shell.zip #do not edit, generated code
+ ${CELIX_BUNDLES_DIR}/shell_tui.zip #do not edit, generated code
+ ${CELIX_BUNDLES_DIR}/log_service.zip #do not edit, generated code
+ mybundle #do not edit, generated code
+#{{end}}
+)