[REF] owl: move metadata into __info__

This differentiate better metadata and owl exported values.  Also, and
this is the goal, it gives a space to add extra keys in the future.
This commit is contained in:
Géry Debongnie
2019-05-21 13:53:16 +02:00
parent 3d9f4e028c
commit da275e74fd
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -9,6 +9,6 @@ export default {
format: "iife",
name: "owl",
extend: true,
outro: `exports._version = '${version}';\nexports._date = '${new Date().toISOString()}';\nexports._hash = '${git.short()}';\nexports._url = 'https://github.com/odoo/owl';`
outro: `exports.__info__.version = '${version}';\nexports.__info__.date = '${new Date().toISOString()}';\nexports.__info__.hash = '${git.short()}';\nexports.__info__.url = 'https://github.com/odoo/owl';`
}
};