git clone [email protected]:<your-username>/aerogear-xamarin-sdk.git
First thing you need to do after you cloned the repo is initializing the module:
git submodule update --init --recursive
Get the latest Showcase app:
git submodule update --remote --merge Example
If you want to test Showcase template with your version of SDK, you’ll need to replace NuGet dependencies with the project dependency:
cd scripts
./update_showcase.js removeNuGets --write
./update_showcase.js addProjDeps --write
Note: npm install
is requried before running the scripts.
Don’t forget to write the tests. If you add something into the Showcase application, you will need to also make a PR in its repo (see step 5).
There is a separate guide for that - Releasing NuGets
If you changed the Example
, you’ll need to separately create PR to xamarin-showcase-template repo
Before you do that, you’ll need to replace the project dependencies with the NuGet dependencies:
If you released new NuGets, it’s necessary to update the versions in showcase_config.json.
Then replace the dependencies in the projects:
cd scripts
./update_showcase.js removeProjDeps --write
./update_showcase.js addNuGets --write
Create a new branch:
cd ./Example
git checkout -b yourbranch
Commit changes there (in ./Example
):
git commit
If you don’t have your remote added yet (in ./Example
):
git remote add yourfork [email protected]:<your-username>/xamarin-showcase-template.git
Push into the branch (in ./Example
):
git push yourfork yourbranch
Then you can create a PR with this branch.
You probably also want to update the reference to the Example HEAD in the parent SDK repo:
cd ..
git add ./Example
git commit
git push