Skip to content

Testing

Dag Wieers edited this page Mar 20, 2019 · 21 revisions

Testing the latest code

It is not that hard to test the latest master branch code when making changes to the VRT.NU addon.

Preparation

If you have the project cloned locally, like this:

$ git clone git@github.com:pietje666/plugin.video.vrt.nu.git
$ cd plugin.video.vrt.nu/

First make sure you have the latest copy in your cloned directory.

$ git checkout master
$ git pull --rebase origin master

Make a zip package on Linux

If you made any changes and you want to test those (on Linux), you can make a zip package by doing:

$ make zip

This will perform some basic sanity checks of your (modified) code and then creates a new zip package.

Make a zip package on Windows

<to be done>

Transfer, install and test

Finally you can transfer this zip package to your Kodi system (if needed) and install it in Kodi.

Add-ons » Install from zip file

In Kodi the best way to reload an addon is by loading another addon first, and then return to the VRT.NU addon. This guarantees no older code is still active.

Clone this wiki locally