Using npm, one can define scripts inside of package.json that can be easily called like
npm run <script-name>
It is very handy to compile/start/lint the project
How are we suppposed to do this with Nimble when using Nim lang?
Using npm, one can define scripts inside of package.json that can be easily called like
npm run <script-name>
It is very handy to compile/start/lint the project
How are we suppposed to do this with Nimble when using Nim lang?
If environment variable
XDG_CONFIG_HOMEis defined,$XDG_CONFIG_HOME/nim/config.nimsor~/.config/nim/config.nims(POSIX) or%APPDATA%/nim/config.nims(Windows). This file can be skipped with the--skipUserCfgcommand line option.$parentDir/config.nimswhere$parentDirstands for any parent directory of the project file's path. These files can be skipped with the--skipParentCfgcommand line option.$projectDir/config.nimswhere$projectDirstands for the project's path. This file can be skipped with the--skipProjCfgcommand line option.A project can also have a project-specific configuration file named
$project.nimsthat resides in the same directory as$project.nim. This file can be skipped with the same--skipProjCfgcommand line option.