Skip to content

Commit

Permalink
Adds support for features in nimble file (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgomez authored Feb 27, 2025
1 parent 48ab0d6 commit f737bc0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/nimscriptapi.nim
Original file line number Diff line number Diff line change
Expand Up @@ -251,3 +251,6 @@ proc getPaths*(): seq[string] =
proc getPathsClause*(): string =
## Returns the paths to the dependencies as consumed by the nim compiler.
return getPaths().mapIt("--path:" & it).join(" ")
template feature*(name: string, body: untyped): untyped =
discard

0 comments on commit f737bc0

Please sign in to comment.