mbx-cli v0.6.1
mbx-cli
CLI tool to manage mbx-gulp on a custom Ionic v1 project.
It is now compatible to both Git and CVS checked out projects.
ICYMI, "mbx-gulp" is a custom Ionic v1 dot files and gulpfile to improve the developer experience.
Usage
cd clonedProject/app/or
cd WORKSPACE_2022-01/app/then
npx mbx-cli buildThe build command does the ff under the hood:
- Automatically updates
sdk.dirvalue to machine'sANDROID_HOMEonlocal.properties - Executes
ant - Removes
org.crosswalk.engine - Clones mbx-gulp and updates its dependencies (including
gulp-cli) - Installs recommended VS Code extension pack
Command definitions
| Command | Description |
|---|---|
build | Runs the ant -f... command with the mbx-gulp |
update | Updates the existing mbx-gulp to your app project |
install | Installs the mbx-gulp to your app project |
ant | Updates local.properties and does ant -f... command without the mbx-gulp |
Recommended setup on project checkout with Git
- Clone your project from remote
- Open the terminal and
cdto the local copy of your app project; e.g.cd clonedProject/app/ - Run
npx mbx-cli build - Open the
platforms/androidon Android Studio - Run the project
Recommended setup on app project checkout with CVS
NOTE: These instructions are exclusively for app projects checked out with CVS.
- Create a new workspace on Eclipse IDE; e.g.
WORKSPACE_2022-01. - Checkout app project
- Open the terminal do
cd WORKSPACE_2022-01/app/ - Run
npx mbx-cli build - Import
platformsfrom Eclipse IDE (excluding crosswalk) - Add EMDK SDK as external lib
- Run the app project Activity on Eclipse IDE (to make sure the app works)
- Finally, initialize git to keep track on the changes. Open the app project on VS Code; click on the Source Control icon on the sidebar; click "Initialize Repository"
Updating the mbx-gulp
To update the mbx-gulp on your app project:
NOTE: Stop any currently running processes such as
gulp watchand save (stash/ commit) your work first before running anynpx mbx-clicommands.
cd clonedProject/app/npx mbx-cli updateHead on to mbx-gulp documentation for the recommended workflow after project checkout.
Maintainer
Designed and developed by Noel Earvin Piamonte
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago