0.1.6 • Published 7 years ago
pisco-cells-app-build v0.1.6
Main Index:
Available Commands:
STEPS
::build (build app)
Build an app with gulp tasks
Information:
contexts
: "app"plugins
: "mobile-package", "gulpexec"requirements
: none
Configuration
type
: Compress type(s) for the distribution. It is prompted and the options are:- novulcanize
- vulcanize
- both options
config
: Configuration for the distribution. It is prompted and get the result of calling this function:
getConfigurations() {
const getChoices = (baseDir, choices) => {
choices = choices ? choices : [];
fs.readdirSync(baseDir).forEach((file) => {
const filePath = path.join(baseDir, file);
if (fs.statSync(filePath).isDirectory()) {
return getChoices(filePath, choices);
} else if (file.match(/\.[json]+$/i)) {
const value = filePath.replace(this.params.appConfigDir, '').replace('.json', '');
choices.push({
value: value,
name: value
});
}
});
return choices;
};
return getChoices(this.params.appConfigDir);
}
So the options will be the json files under the this.params.appConfigDir
appConfigDir
: folder where is allocated the configuration for the diferent build environments.
Stages
check
: Verify that the config and type parameters are corrected informed.run
: Launch the build of all the configurations and types.
0.1.6
7 years ago
0.1.6-beta.0
7 years ago