You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
519 B
22 lines
519 B
# Package
|
|
|
|
version = "0.2"
|
|
author = "Productive2"
|
|
description = "Just Another Line Editor"
|
|
license = "MIT"
|
|
srcDir = "src"
|
|
|
|
# Dependencies
|
|
|
|
requires "nim >= 1.0.0"
|
|
|
|
import os
|
|
task examples, "Builds examples":
|
|
for kind, path in walkDir("examples/"):
|
|
if path.splitFile().ext == ".nim":
|
|
let (oup, exitcode) = gorgeEx "nim c " & path
|
|
if exitcode != 0:
|
|
echo "Failed building example " & path
|
|
echo oup
|
|
else:
|
|
echo "Successfully built example " & path
|
|
|