From 712be9ca5a564fb7009010ec2dc0d3dede55b1f4 Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Fri, 28 Jul 2017 18:59:54 +0700 Subject: [PATCH] Add clean task to sample project --- examples/simple/nakefile.nim | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/simple/nakefile.nim b/examples/simple/nakefile.nim index 0efcef7..8b4c033 100644 --- a/examples/simple/nakefile.nim +++ b/examples/simple/nakefile.nim @@ -34,3 +34,10 @@ task "build", "Builds the client for the current platform": genGodotApi() withDir "src": direShell("nimble", "make") + +task "clean", "Remove files produced by build": + removeDir("nimcache") + removeDir("src"/"nimcache") + removeDir("godotapi") + removeDir("project"/"_dlls") + removeFile("nakefile")