Welcome to our Community
Be apart of something great, join today!
Register Log in

XenForo Add-on [BS] GitHub Dev Tools 1.1.0

No permission to download
[BS] GitHub Dev Tools
Compatible XF Versions
  1. 2.0
  2. 2.1
  3. 2.2
Visible Branding
No
This add-on adds commands to create a convenient project structure on GitHub. However, you can continue development in standard directories, since the add-on automatically creates a symlink.

More information in FAQ section.

Project structure example: https://github.com/021-projects/XF2-ScheduledPosting

xf-addon:github-init {--gitinit} {--gitignore} ADDON_ID PROJECT_NAME - the command will move all files related to the add-on to the $FORUM_ROOT/github/$PROJECT_NAME/upload directory and creates symlinks to the transferred files.

--gitinit option executes the "git init" command in $FORUM_ROOT/github/$PROJECT_NAME directory.
* Working only if shell_exec function is available.

--gitignore option creates the .gitignore file in $FORUM_ROOT/github/$PROJECT_NAME directory.

Default .gitignore content
_releases
_data
hashes.json
/.idea/
.DS_Store
git.json
.phpstorm.meta.php
_metadata.json




xf-addon:github-return {--remove|-r} ADDON_ID PROJECT_NAME - returns all transferred files and folders to their directories and removes symlinks.

--remove|-r option deletes $FORUM_ROOT/github/$PROJECT_NAME directory.



xf-addon:github-release ADDON_ID PROJECT_NAME - does everything the same as the "xf-addon:release-build" for the Github project, keeping the correct file structure.

* Should be used instead of xf-addon:build-release command.
  • Like
Reactions: salehshwa
Author
default4448
Downloads
1
Views
120
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from default4448