Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting/overwriting env/path externally in prefs file? #22

Closed
og2t opened this issue Oct 18, 2018 · 2 comments · Fixed by #24
Closed

Setting/overwriting env/path externally in prefs file? #22

og2t opened this issue Oct 18, 2018 · 2 comments · Fixed by #24

Comments

@og2t
Copy link
Contributor

og2t commented Oct 18, 2018

Hi Swoffa,

Would it be possible to set/overwrite env/path settings outside, i.e. via the prefs file?
On my work machine all my C64 related stuff lives in the mountable virtual drive and I need to overwrite these paths somehow. Cheers!

"osx":
    {
        "env" : { "CLASSPATH":"$CLASSPATH:/Applications/KickAssembler/KickAss.jar"},
        "path": "$PATH:/Applications/VICE/X64.app/Contents/MacOS/"
    },
@Swoffa
Copy link
Owner

Swoffa commented Oct 18, 2018

@og2t
Added kickass_path setting for adding things to path. Env might be fixed later, but you can use the kickass_jar_path setting for the kick assembler jar path (full path to the Kick Assembler jar-file).

There is also setting for Vice, kickass_run_path and kickass_debug_path.

More info (under settings): https://goatpower.org/projects-releases/sublime-package-kick-assembler-c64/

@Swoffa
Copy link
Owner

Swoffa commented Nov 8, 2018

Fixed in pr #40

Now environment variables can be added thru the kickass_env setting.
The variables defined will have precedence over other environment variables with the same names.
Example setting:

	"kickass_env": { 
		"MY_ENV_VAR1" : "Goats can fly",
		"MY_ENV_VAR2" : "Brown banana",
	}

Hope it helps!

@Swoffa Swoffa closed this as completed Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants