Jump to content

How to: selective deployment


megapatato

Recommended Posts

Posted

Is there a way of telling Vortex to not deploy a subcomponent of a mod in the staging directory? This functionality would be akin to the .gitignore file.

 

Concretely, I would like to not deploy anything in the .vscode directory for a mod I'm developing.

 

Posted

Hi Pickysaurus, thanks for the response.

 

Just to make sure I'm on the right path, this would mean tinkering with the index.js file, correct? I'm seeing the DaggerfallUnity index.js file has a process to filter out files by extension (line 43), so I'll try that approach (unless you'd suggest something else?)

 

Cheers,

~MP

  • Community Manager
Posted
Posted

Don't necessarily use the valheim extension as an example.

You don't have to "toLowerCase()" the filenames, the ignore lists are case sensitive.

 

Further, what that extension doesn't show is that you can use glob patterns to maybe have to list fewer items, e.g. you could use something like

ignoreDeploy: [path.join('**', 'readme*')]

to ignore all files starting with readme, no matter in which subdirectory, so it would ignore

  • readme.txt
  • foobar\readme.md
  • multiple\nested\directories\readme

and so on

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...