How to use GIT for your own projects/modules within the monkey2 repo

About Monkey 2 Forums Monkey 2 Development How to use GIT for your own projects/modules within the monkey2 repo

This topic contains 3 replies, has 3 voices, and was last updated by  jondecker76 1 month, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16128

    jondecker76
    Participant

    Hello,

    Being a long time Subversion user and new to Git, I’m wondering what the best approach would be for managing my own code within the monkey2 modules directory?  Does someone have some kind of reasonable workflow they could share?  For now I’m just using symbolic links, but I’m wondering if there is a better way?

     

    Thanks!

    #16129

    abakobo
    Participant

    I’m using githubDesktop on both Mac and MSWin and it has been flawless for now. Just clone your repo to the module folder. Changing the folder name if needed, and everything runs fine. The only problem is Ted2Go intellisens behaving badly when you work on files from the modules folder.

    #16174

    Danilo
    Participant

    You can add external module directories by setting the environment variable MX2_MODULE_DIRS.

    In Unix shells:

     

    You can add more than one directory. Separate the directories with a semicolon “;”:

     

    I think on Windows OS it was the command SET:

     

    Alternatively you can add the line to your env_linux.txt / env_macos.txt / env_windows.txt in bin/

    #16176

    jondecker76
    Participant

    Thanks Danilo, very helpful!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.