nimble
nimble copied to clipboard
skipDirs is overriden by installExt
# Package
version = "0.4.3"
author = "Jez 'Impbox' Kabanov"
description = "Nico Game Engine"
license = "MIT"
# Dependencies
requires "nim >= 1.4.0"
requires "sdl2_nim >= 2.0.14.2"
requires "gifenc >= 0.1.0"
requires "nimPNG >= 0.3.1"
requires "zippy >= 0.5.9"
skipDirs = @["examples","tests","android","tools"]
installExt = @["nim"] # removing this line causes check to pass
bin = @["nicoboot","nicoandroid","nicosynth"]
causes warning
nimble check
Warning: Package 'nico' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'nico', but file 'audio.nim' is in a directory named 'examples' instead. This will be an error in the future.
Hint: If 'examples' contains source files for building 'nico', rename it to 'nico'. Otherwise, prevent its installation by adding `skipDirs = @["examples"]` to the .nimble file.
if installExt
line is removed
nimble check
Success: nico is valid!
using nimble v0.13.1 compiled at 2021-05-25 01:13:00
I would expect nim files in any of the skipDirs to be skipped despite installExt.