I already have that pointing to a different location, and including more than one means problems when switching between windows and linux.
Why. The environment variables have to be different anyway. In linux you must use ":" as seperator and in windows it's ";" ... I'm using both systems and have absolutely no problem.
I'm using different paths in both systems. The environment variables are local to your system and not pushed to git .. So I don't see why it should cause problems.
My setup looks like this:
Windows:
TW source: D:\git\tiddly\tiddlywiki\TiddlyWiki5
TIDDLYWIKI_PLUGIN_PATH: D:\git\tiddly\wikilabs\plugins
TIDDLYWIKI_EDITION_PATH: D:\git\tiddly\wikilabs\editions
eg:
uni-link plugin : D:\git\tiddly\wikilabs\plugins\wikilabs\uni-link
plugin.info
\tiddlers
tiddlywiki.info for an edition that should use uni-link plugin see: https://github.com/wikilabs/editions/blob/master/uni-link/tiddlywiki.info
I also use a second edition for development: https://github.com/wikilabs/editions/blob/master/uni-link-server/tiddlywiki.info which uses some TW and some more of my own plugins.
I do have all my editions in one repo
I do have all my plugins in a different repo
TiddlyWiki reads environment variables from left to right and uses the first path, where it finds the plugin or edition. Since you don't want to have duplicated soruces, that's the right way to go. ....
Why. The environment variables have to be different anyway. In linux you must use ":" as seperator and in windows it's ";" ... I'm using both systems and have absolutely no problem.
I'm using different paths in both systems. The environment variables are local to your system and not pushed to git .. So I don't see why it should cause problems.I disagree. There are differences between environments, but there are also solutions to them. That's why I use things like cross-env and npm scripts for being able to use the same set of scripts on both environments.In my case, the paths will be relative to the project, and they will be the same. The only difference will be the path separator. I strongly trust on building cross-os scripts. TW does the opposite and that is something I really dislike.
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywikidev/J2gd_4K3yTM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywikidev+unsubscribe@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/02d9dc17-2943-4f70-a8f6-7c062c19777f%40googlegroups.com.