celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpe...@apache.org
Subject [4/9] celix git commit: CELIX-236: add project deployment, fixed include path
Date Wed, 27 Jan 2016 14:34:29 GMT
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/develop
Commit: a4939dee831659ec4925300b70765a6bab49eba8
Parents: 6a56692
Author: Bjoern Petri <bpetri@apache.org>
Authored: Thu Jan 14 12:44:19 2016 +0100
Committer: Bjoern Petri <bpetri@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}}
+)


Mime
View raw message