1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add-on Builder 1.2.0

Handy developer tool to automate the process of packaging add-ons.

  1. Chris D

    Chris D XenForo Developer Staff Member

    Chris Deeming submitted a new resource:

    Add-on Builder (version 1.0) - Handy developer tool to automate the process of packaging add-ons.

    Read more about this resource...
     
  2. cclaerhout

    cclaerhout Well-Known Member

    Well done ! Very clever !
     
    Chris D likes this.
  3. Sylar

    Sylar Well-Known Member

    Smexy :)
     
    Chris D likes this.
  4. 0xym0r0n

    0xym0r0n Well-Known Member

    YAYYYYYY :cry: I guess I have no excuse not release more add-ons.
     
    Sylar and Chris D like this.
  5. Sadik B

    Sadik B Well-Known Member

    Haven't installed it but it's a very good idea. Thanks for making this Chris, may come useful in the future.
     
    Insy and Chris D like this.
  6. Chris D

    Chris D XenForo Developer Staff Member

    No worries :)

    It isn't exactly difficult to package an add-on, but this does make the process a bit quicker. I actually mainly created it for myself because I thought it would be useful and it does save me time.

    It should also prevent those silly little mistakes we all make when we're sometimes releasing add-ons. We've all done it. Wrong XML file, missing files, missing folders. The amount of quick updates you see after an initial release is quite amusing :)
     
    0xym0r0n and Adam Howard like this.
  7. Sadik B

    Sadik B Well-Known Member

    Agreed. I think I should release more... My problem is that whatever I do for custom necessity has so much of our custom needs hardcoded (because I am lazy!) that it becomes impossible to release. To release an addon, one needs to ensure flexibility which takes additional time to code!
     
  8. Chris D

    Chris D XenForo Developer Staff Member

    You're right, it does take additional time. I have trained myself to absolutely always do things as I'm going along. It does slow things down, but there's nothing worse than releasing something and realising "damn, I forgot to change that harcoded text for a phrase".

    {xen:phrase i_have_pretty_much_got_used_to_typing_everything_like_this_while_coding_addons} :D Then I actually add the phrases later.
     
  9. DRE

    DRE Well-Known Member

  10. Chris D

    Chris D XenForo Developer Staff Member

    I have never seen that before and it is nothing to do with my add-on.

    Do you have the infis auto installer installed too?

    I assume its from some other add on as I've never seen it before.
     
  11. DRE

    DRE Well-Known Member

    No. Never seen his.

    Man I'm going back to sleep. lol thanks anyway.
     
  12. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    damn... I haven't seen this add-on when I made mine :(
    and only difference is that mine can 'zip' ANY folder inside the root dir... :D
    DevHelper - 1.PNG

    DevHelper - 2.PNG
    and the user 'downloads' the file as '{title} ver {version string}.zip'... I wont share it since there are already two add-ons doing the same thing... but I think you should also add the option to allow users to include folder from any place, not just js, library and styles ;)
     
  13. siwi

    siwi Member

    Very nice addon! Thanks for this!

    Would it be possible to add the version number to the created zip archiv in the next version of this addon. That would be very nice, so I can save all versions of my addons in the same folder.
     
  14. Chris D

    Chris D XenForo Developer Staff Member

    You know what I've had that in use on my own machines for months. Keep forgetting to release it.


    Thanks for the reminder!
     
  15. Chris D

    Chris D XenForo Developer Staff Member

    [​IMG]
    [​IMG] [​IMG] [​IMG]
    Thank you so much for donating. It is always appreciated!
    • When an add-on is built, the current version string is appended to the end of the Add-on ID to form the filename.
      • e.g. in version 1.0 the add-on would be built with a filename of AddOnId.zip
      • In version 1.1.0 the add-on is built with a filename of AddOnId-1.1.0.zip
    • As is the customary naming convention for JS directories and files, the JS folder name defaults to a lowercase version of the Add-on ID.
     
    siwi likes this.
  16. Chris D

    Chris D XenForo Developer Staff Member

    [​IMG]
    [​IMG] [​IMG] [​IMG]
    Thank you so much for donating. It is always appreciated!

    First of all, this new release is only compatible with XenForo 1.2.0 and above.

    This new version brings a couple of new features, check out the updated screenshots in the Resource Description.

    1) Add-ons can now be built without specifying any directories. This effectively just packages up he XML file into a ZIP. This is useful for add-ons that only require the XML file but still need to be uploaded here as a ZIP file (e.g. TMs).

    2) Removed dependency on a third party Helper to recursively build ZIP files. (It now uses Zend Framework).

    3) As well as building the add-on and creating a ZIP file in the build directory, it is now possible to download that ZIP via your browser upon creation.

    4) The default path for styles has been changed. It assumes that your images will be in the default @imagePath location (styles/default) and in a lower case directory that matches the add-on ID.

    5) There is no longer a separate page or Navigation item to choose the add-on you want to build. This is now integrated in to the main add-on list.

    Enjoy!
     
  17. Chris D

    Chris D XenForo Developer Staff Member

  18. Chris D

    Chris D XenForo Developer Staff Member

    Chris Deeming updated Add-on Builder with a new update entry:

    Rollback

    Read the rest of this update entry...
     
  19. Chris D

    Chris D XenForo Developer Staff Member

    Chris Deeming updated Add-on Builder with a new update entry:

    A few small improvements

    Read the rest of this update entry...
     
    RoldanLT, yavuz and Mirovinger like this.
  20. Sniper

    Sniper Active Member

    Great add-on! would be cool if there was the option to exclude folders/files, since I have phrases, templates as files for versioning :)

    Also can you add .git files to _annoyingFilenames? thanks
     
    Chris D likes this.

Share This Page