all repos — min @ b540595c1917f4dd75a18181496d90afb5d4c5b0

A small but practical concatenative programming language.

Removed nimble tasks
h3rald h3rald@h3rald.com
Sat, 05 Dec 2020 02:09:09 +0100
commit

b540595c1917f4dd75a18181496d90afb5d4c5b0

parent

f3faad8ddc662888d06bf30fb64cce10e324abb3

3 files changed, 3 insertions(+), 43 deletions(-)

jump to
M min.nimblemin.nimble

@@ -18,45 +18,3 @@ before install:

exec "nimble install -y nifty" exec "nifty remove -f" exec "nifty install" - -# Tasks - -const - compile = "nim c -d:release --opt:size" - linux_x64 = "--cpu:amd64 --os:linux --passL:-static" - windows_x64 = "--cpu:amd64 --os:windows" - macosx_x64 = "" - parallel = "--parallelBuild:1 --verbosity:3" - hs = "min" - hs_file = "min.nim" - zip = "zip -X" - -proc shell(command, args: string, dest = "") = - exec command & " " & args & " " & dest - -proc filename_for(os: string, arch: string): string = - return "min" & "_v" & version & "_" & os & "_" & arch & ".zip" - -task windows_x64_build, "Build min for Windows (x64)": - shell compile, windows_x64, hs_file - -task linux_x64_build, "Build min for Linux (x64)": - shell compile, linux_x64, hs_file - -task macosx_x64_build, "Build min for Mac OS X (x64)": - shell compile, macosx_x64, hs_file - -task release, "Release min": - echo "\n\n\n WINDOWS - x64:\n\n" - windows_x64_buildTask() - shell zip, filename_for("windows", "x64"), hs & ".exe" - shell "rm", hs & ".exe" - echo "\n\n\n LINUX - x64:\n\n" - linux_x64_buildTask() - shell zip, filename_for("linux", "x64"), hs - shell "rm", hs - echo "\n\n\n MAC OS X - x64:\n\n" - macosx_x64_buildTask() - shell zip, filename_for("macosx", "x64"), hs - shell "rm", hs - echo "\n\n\n ALL DONE!"
M tasks/clean.mintasks/clean.min

@@ -1,6 +1,7 @@

{} ( "Cleaning up build files" notice - . ls ("\.(html|zip)$" match filter) rm + . ls ("\.(htm|zip)$" match) filter =files + files 'rm foreach ) %default +clean-tasks
M tasks/release.mintasks/release.min

@@ -7,5 +7,6 @@ build-tasks ^site

build-tasks ^windows build-tasks ^linux build-tasks ^default + "All done!" notice ) %default +release-tasks