diff --git a/config.nims b/config.nims index b8e919c..c90a672 100644 --- a/config.nims +++ b/config.nims @@ -25,27 +25,27 @@ task build, "Compile the project for intermediate builds": createDirectory("build") ## Ensure the build directory exists exec "nim c -o:build/dashinit src/main.nim" ## Compile the main project file into the build directory -# Distribution task for final builds -task dist, "Compile the project for distribution": - createDirectory("dist") ## Ensure the directory exists - exec "nim c -o:dist/dashinit src/main.nim" ## Compile the main project file into the dist directory +# # Distribution task for final builds +# task dist, "Compile the project for distribution": +# createDirectory("dist") ## Ensure the directory exists +# exec "nim c -o:dist/dashinit src/main.nim" ## Compile the main project file into the dist directory # Dev task (Compiles and runs main.nim) task dev, "Run tests": switch("undef", "release") ## Unset the release switch for this task - createDirectory("dev") ## Ensure dev directory exists - exec "nim c -o:dev/dashinit -r src/main.nim" + createDirectory("build/dev") ## Ensure dev directory exists + exec "nim c -o:build/dev/dashinit -r src/main.nim" # Clean task to remove generated files task clean, "Clean up generated files": removeFileOrDir("build/*") - removeFileOrDir("dist/*") - removeFileOrDir("dev/*") + # removeFileOrDir("dist/*") + # removeFileOrDir("dev/*") task deepclean, "Clean up by removing build/ and dist/ directories": removeFileOrDir("build/") - removeFileOrDir("dist/") - removeFileOrDir("dev/") + # removeFileOrDir("dist/") + # removeFileOrDir("dev/") #### Aliases #### diff --git a/src/main b/src/main deleted file mode 100755 index acb28d7..0000000 Binary files a/src/main and /dev/null differ