3

In an OpenFL project.xml file, how do you access environment variables, for example, to add a source path of $HOME/dev/haxe-js-kit

There's lots of information on the project XML format from the OpenFL website, but it doesn't mention the above.

Adrian
  • 994
  • 5
  • 5
Jeff Ward
  • 16,563
  • 6
  • 48
  • 57

1 Answers1

4

Put the variable name in ${}, e.g.

<source path="${HOME}/dev/haxe-js-kit" />
Jeff Ward
  • 16,563
  • 6
  • 48
  • 57