You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SDK should feature an interface called IAssembly, which, if implemented and added to a bundle project is able to define a number of metadata for that particular bundle.
The Assembly class will only be parsed, it will be ignored by the cross compiler.
The Assembly class will be able to determine the output name and version number of the bundle.
Only one IAssembly implementation should be allowed to exist in a bundle project, if multiple implementations are found, an error should be thrown.
Proposed interface signature:
public interface IAssembly {
function get name():String;
function set name(value:String):void;
function get version():Number;
function set version(value:Number):void;
}
The text was updated successfully, but these errors were encountered:
Since it'll be difficult to parse the actual values from a an interface. Perhaps we should drop the interface and simply use metadata annotations.
So, more like this:
[Assembly]
public class Assembly {
[Name]
public var name:String = "MyBundleName";
[Version]
public var version:Number = 1.2;
}
The SDK should feature an interface called IAssembly, which, if implemented and added to a bundle project is able to define a number of metadata for that particular bundle.
The Assembly class will only be parsed, it will be ignored by the cross compiler.
The Assembly class will be able to determine the output name and version number of the bundle.
Only one IAssembly implementation should be allowed to exist in a bundle project, if multiple implementations are found, an error should be thrown.
Proposed interface signature:
public interface IAssembly {
function get name():String;
function set name(value:String):void;
function get version():Number;
function set version(value:Number):void;
}
The text was updated successfully, but these errors were encountered: