Upgrade code - step 1

This commit is contained in:
Fernando Ontiveros
2025-03-27 12:06:06 +00:00
parent fbd92c5964
commit 7f3ee186de
47635 changed files with 5941896 additions and 1779 deletions

View File

@@ -44,10 +44,8 @@ pake_task('new-plugin', 'project_exists');
pake_desc("Update the plugin attributes in all workspaces\n args: <plugin-name>");
pake_task("update-plugin-attributes", "project_exists");
/*----------------------------------********---------------------------------*/
pake_desc("Check disabled code in plugins\n args: [enterprise-plugin|custom-plugin|all|<plugin-name>]");
pake_task("check-plugin-disabled-code", "project_exists");
/*----------------------------------********---------------------------------*/
pake_desc("pack plugin in .tar file \n args: <plugin>");
pake_task('pack-plugin', 'project_exists');
@@ -55,10 +53,8 @@ pake_task('pack-plugin', 'project_exists');
pake_desc("generate basic CRUD files for an existing class\n args: <class-name> <table-name> <plugin-name>");
pake_task('propel-build-crud', 'project_exists');
/*----------------------------------********---------------------------------*/
pake_desc("check standard code\n args: <directory>");
pake_task('check-standard-code', 'project_exists');
/*----------------------------------********---------------------------------*/
/**
* Function run_version
@@ -2254,8 +2250,8 @@ function checkFileStandardCode($file)
$aFiles[] = array( 'file' => $rootFolder, 'tab' => $bTabs, 'utf' => $bUtf8, 'dos' => $bDos );
}
}
/*----------------------------------********---------------------------------*/
/*function checkFolderStandardCode ( $folder, $bSubFolders ) {
function checkFolderStandardCode ( $folder, $bSubFolders ) {
global $aFiles;
$rootFolder = str_replace ( PATH_TRUNK, '', $folder );
//printf("%s \n", pakeColor::colorize($rootFolder, 'INFO'));
@@ -2272,10 +2268,8 @@ function checkFileStandardCode($file)
}
}
}
}*/
/*----------------------------------********---------------------------------*/
}
/*----------------------------------********---------------------------------*/
function run_check_standard_code($task, $options)
{
global $aFiles;
@@ -2306,7 +2300,7 @@ function run_check_standard_code($task, $options)
);
}
}
/*----------------------------------********---------------------------------*/
function run_update_plugin_attributes($task, $args)
{
try {