Skip to content

Instantly share code, notes, and snippets.

@MElkady
Last active May 1, 2016 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MElkady/6d5102b2f97776fa36a1f7c702c82cd1 to your computer and use it in GitHub Desktop.
Save MElkady/6d5102b2f97776fa36a1f7c702c82cd1 to your computer and use it in GitHub Desktop.
Refer to blog entry here (http://www.mobilefirst.tips/do-you-have-an-old-machine-turn-it-into-mobilefirst-platform-development-server-for-free/). This is a sample script to autmomate MobileFirst platform project building using MFP CLI tools. You can place this file on user's path so you can call it from anywhere, all you need is just to open a n…
# Sample script to autmomate MobileFirst platform project building using MFP CLI tools
# You can place this file on user's path so you can call it from anywhere, all you need is just to open a new termial then type:
# do_build
export project_location=/codes
cd $project_location
git reset --hard
git clean -f
git fetch
git pull
mfp bd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment