mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge pull request #6954 from NativeScript/tsenov/merge-release
chore: merge release in master
This commit is contained in:
@@ -38,8 +38,7 @@ module.exports = function(grunt) {
|
||||
return processed;
|
||||
};
|
||||
|
||||
var updatePackageDef = function(content, update)
|
||||
{
|
||||
var updatePackageDef = function (content, update) {
|
||||
var contentAsObject = JSON.parse(content);
|
||||
update(contentAsObject);
|
||||
return JSON.stringify(contentAsObject, null, "\t");
|
||||
@@ -258,7 +257,6 @@ module.exports = function(grunt) {
|
||||
expand: true,
|
||||
src: [
|
||||
'**/*',
|
||||
'!*.md',
|
||||
'!node_modules/**/*',
|
||||
'!unit-tests/**/*',
|
||||
],
|
||||
@@ -267,6 +265,10 @@ module.exports = function(grunt) {
|
||||
}
|
||||
},
|
||||
exec: {
|
||||
copyReadme: {
|
||||
cmd: `cp "README.md" ${localCfg.outTnsCoreModules}`,
|
||||
cwd: process.cwd()
|
||||
},
|
||||
packModules: {
|
||||
cmd: "npm pack",
|
||||
cwd: localCfg.outTnsCoreModules + "/"
|
||||
@@ -376,6 +378,7 @@ module.exports = function(grunt) {
|
||||
"compile-modules",
|
||||
"run-unit-test",
|
||||
"copy:modulesPackageDef",
|
||||
"exec:copyReadme",
|
||||
"exec:packModules"
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user