Forum Discussion

mpwhitt's avatar
mpwhitt
Visitor
11 years ago

Automated Build Process

Is there a way to automate the entire "build" process of a Roku channel? We have one code base that will result in multiple channels and would like to automate changes to the images, manifest, and makefile.

We can build an external program in c# (or equivalent) that would make the changes to the files, but would still need a way to automate the packaging.

Thanks.

12 Replies

  • greeneca's avatar
    greeneca
    Channel Surfer
    Yes it is the same process that the device uses you can just do it using the tool instead of using their web UI.
  • "MatroxRT" wrote:
    You should check out Gulpjs
    http://gulpjs.com/
    Honestly, Gulp is pretty amazing, create a watch task on your brs files, and you can use it to auto-zip and deploy to a Roku device. A total time saver. You can also just have it run the makefile to get up and running -- I did this for months and it worked great, but now I have a variation that is pure javascript without the make dependency. You can have it do a bunch to automate that build process for the types of tasks you listed as well.

    Coincidently, recently re something else i was wondering "gulp or grunt?" - did some reading and ran into this making the great point of "neither":
    http://blog.keithcirkel.co.uk/why-we-sh ... ing-grunt/
    also https://medium.freecodecamp.com/why-i-l ... .iljgyxfwe
    (Spoiler alert: npm comes with Node.js and can do what you need sans plugin adapters/wrappers)

    DIsclaimer: using npm, gulp, grunt makes sense only if one is a JavaScript developer and already uses Node.js for something else. No point whatsoever otherwise.