jale/jale.nimble

23 lines
521 B
Plaintext
Raw Permalink Normal View History

2021-02-19 11:27:27 +01:00
# Package
2021-02-26 15:03:43 +01:00
version = "0.1.1"
2021-02-19 11:27:27 +01:00
author = "Productive2"
description = "Just Another Line Editor"
license = "MIT"
srcDir = "src"
# Dependencies
2021-02-19 17:57:10 +01:00
requires "nim >= 1.0.0"
2021-02-20 14:46:37 +01:00
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