How to use the ui5-lib-util.ui5Build function in ui5-lib-util

To help you get started, we’ve selected a few ui5-lib-util examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pulseshift / openui5-gulp-starter-kit / gulpfile.babel.js View on Github external
// update spinner state
        spinner.text = `Build UI5... [${iStep}/${iTotalSteps}] (${
          oStepDetails.name
        })`
      }
    }

    if (isBuildRequired) {
      // update spinner state
      spinner.text =
        'Build UI5... (this task can take several minutes, please be patient)'
    }

    // define build Promise
    return isBuildRequired
      ? ui5Build(
          `${sDownloadPath}/${sUI5Version}`,
          sUI5TargetPath,
          sUI5Version,
          oBuildOptions
        )
          .then(sSuccessMessage => {
            spinner.succeed(sSuccessMessage)
            spinner.start('')
          })
          .catch(sErrorMessage => {
            spinner.fail(sErrorMessage)
            spinner.start('')
          })
      : Promise.resolve()
  } catch (error) {
    spinner.fail(error)

ui5-lib-util

A set of UI5 utilities to download and build OpenUI5 automatically.

MIT
Latest version published 3 years ago

Package Health Score

46 / 100
Full package analysis