What's an Environment Variable?
Environment Variables let you pass important configuration information to both the tools that CodeKit runs and your own Hooks or Build Steps.
To edit them, open the General section of Project Settings:
Variable Names and Values
Environment Variable names are written in all-caps and may contain only letters, numbers, and underscores. CodeKit will validate the name for you.
The value of the variable is not limited, but keep in mind that complex values may cause errors with some tools that CodeKit runs.
Where Are These Variables Used?
Your Environment Variables are available in any Hook or Build Step that you create. They are also available when running most compilers/tools in CodeKit, such as Terser (the JS minifier), ESLint, or Babel.
The exceptions are tools that don't run from shell-like environments:
- Libsass Compiler
- MultiMarkdown Compiler
- JSON Minifier
- Kit Compiler
- Cache-Buster