squattingmonk/nasher

flags in [Package] section returning error

Closed this issue · 2 comments

Trying to add an include flag for nwnsc but it produces an error

name = "mymod"
description = ""
version = "0.0.1"
url = ""
flags = "-i ../../src"

output of nasher compile

 nasher compile
   Compiling target mymod
    Updating cache for target mymod
   Compiling 2 scripts
      Error: Unrecognized option " ".
             Usage
         ... version 1.0.0 - built Jun  2 2018 18

Each argument needs to have its own separate flags directive. It can be repeated, just like the include directive.

flags = "-i"
flags = "../../src"

Thanks