Hi there,
I would like to know if it is possible to "switch on/off" a "copy-file" (and
"add-script") sub-job dependent on variants?
For example, depending on the setting of the "myApp.withWebSocket":
<code>
// ...
"build" : {
"environment" : {
"myApp.withWebSocket" : false, // [true|false]
// ...
}
},
"source" : {
"environment" : {
"myApp.withWebSocket" : true, // [true|false]
// ...
}
},
// ...
"source-script" :
{
// *** Possible to enable/disable this via environment/variants? ***
"add-script": [ { "uri" : "./resource/socket.io/socket.io.js" } ]
},
"build-script" :
{
// *** Possible to enable/disable this via environment/variants? ***
"copy-files" : {
"files" : [ "./socket.io/socket.io.min.js",
"./socket.io/WebSocketmain.swf",
"./socket.io/WebSocketMainInsecure.swf" ],
"source" : "./source/resource/",
"target" : "./build/"
},
"add-script" : [ { "uri" : "socket.io/socket.io.min.js" } ]
},
},
// ...
</code>
is something like this possible?
Thanks in advance for any ideas / input,
Peter
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel