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.
cd clonedProject/app/
or
cd WORKSPACE_2022-01/app/
then
npx mbx-cli build
The build
command does the ff under the hood:
- Automatically updates
sdk.dir
value to machine'sANDROID_HOME
onlocal.properties
- Executes
ant
- Removes
org.crosswalk.engine
- Clones mbx-gulp and updates its dependencies (including
gulp-cli
) - Installs recommended VS Code extension pack
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
|
- Clone your project from remote
- Open the terminal and
cd
to the local copy of your app project; e.g.cd clonedProject/app/
- Run
npx mbx-cli build
- Open the
platforms/android
on Android Studio - Run the project
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
platforms
from 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"
To update the mbx-gulp
on your app project:
NOTE: Stop any currently running processes such as
gulp watch
and save (stash/ commit) your work first before running anynpx mbx-cli
commands.
cd clonedProject/app/
npx mbx-cli update
Head on to mbx-gulp documentation for the recommended workflow after project checkout.
Designed and developed by Noel Earvin Piamonte