Skip to content

Custom path for modules #625

@filipw

Description

@filipw

Right now modules are loaded from :

  • global path
  • /bin/ if running with -debug

For mono I modded scriptcs to always look in /bin/ for convenience.
How about we allow the module lookup path to be customizable?

For example:
scriptcs file.csx -modules mono -modulepath /home/filip/module
scriptcs file.csx -modules FancyConsole -modulepath bin

or simply set the modulepath in the scriptcs.opts

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions