nim-lang / nimble

Package manager for the Nim programming language.
https://nim-lang.github.io/nimble/index.html
Other
1.25k stars 191 forks source link

Nimble #head doesn't recognize tasks #562

Closed genotrance closed 6 years ago

genotrance commented 6 years ago

Trying to compile choosenim:

> nimble build
       Tip: 3 messages have been suppressed, use --verbose to show them.
     Error: Could not read package info file in /home/gt/programming/choosenim/choosenim.nimble;
        ...   Reading as ini file failed with:
        ...     Invalid section: .
        ...   Evaluating as NimScript file failed with:
        ...     home/gt/programming/choosenim/choosenim.nimble(21, 1) Error: undeclared identifier: 'task'.
dom96 commented 6 years ago

Nimble version? Nim version?

Guessing your Nimble is outdated: https://github.com/nim-lang/nimble/blob/master/src/nimblepkg/nimscriptapi.nim#L32

genotrance commented 6 years ago

My devel was in a bad way, was updating but not building. I've fixed it and this now works. Sorry!