Commit 2514b5ba3defcaeedc137a1e89726773c276632a

Authored by Göran Krampe
1 parent 49df26ea

Updated to work with nim 1.2.0

blimp.nim
1 -import md5, os, osproc, parseopt2, strutils, parsecfg, streams, lapp, subexes, tables, sets 1 +import md5, os, osproc, parseopt2, strutils, parsecfg, streams, lapp, tables, sets
2 2
3 # blimp is a little utility program for handling large files 3 # blimp is a little utility program for handling large files
4 # in git repositories. Its inspired by git-fat and s3annex 4 # in git repositories. Its inspired by git-fat and s3annex
@@ -14,7 +14,7 @@ import md5, os, osproc, parseopt2, strutils, parsecfg, streams, lapp, subexes, t @@ -14,7 +14,7 @@ import md5, os, osproc, parseopt2, strutils, parsecfg, streams, lapp, subexes, t
14 14
15 const 15 const
16 versionMajor* = 0 16 versionMajor* = 0
17 - versionMinor* = 5 17 + versionMinor* = 6
18 versionPatch* = 0 18 versionPatch* = 0
19 versionAsString* = $versionMajor & "." & $versionMinor & "." & $versionPatch 19 versionAsString* = $versionMajor & "." & $versionMinor & "." & $versionPatch
20 20
@@ -397,16 +397,13 @@ let synopsis = """ @@ -397,16 +397,13 @@ let synopsis = """
397 -h,--help Show this 397 -h,--help Show this
398 --version Show version of blimp 398 --version Show version of blimp
399 -v,--verbose Verbosity, only works without -s 399 -v,--verbose Verbosity, only works without -s
400 - ----------  
401 <command> (string) (d)eflate, (i)nflate, init, deinit, 400 <command> (string) (d)eflate, (i)nflate, init, deinit,
402 remove, push, upload, download 401 remove, push, upload, download
403 --all Operate on all deflated files in clone 402 --all Operate on all deflated files in clone
404 -f,--filter Operate on all files matching blimp filter 403 -f,--filter Operate on all files matching blimp filter
405 -a,--area (default remote) The area to use for remote up/downloads 404 -a,--area (default remote) The area to use for remote up/downloads
406 - ----------  
407 -s,--stdio If given, use stdin/stdout for content. 405 -s,--stdio If given, use stdin/stdout for content.
408 - <filenames> (string...) One or more filepaths to inflate/deflate  
409 -""" 406 + <filenames> (string...) One or more filepaths to inflate/deflate"""
410 let help = """ 407 let help = """
411 408
412 blimp is a little utility program for handling large files 409 blimp is a little utility program for handling large files
blimp.nim.cfg
1 --deadCodeElim:on 1 --deadCodeElim:on
2 -d:release 2 -d:release
  3 +--nilseqs:on
blimp.nimble
1 [Package] 1 [Package]
2 name = "blimp" 2 name = "blimp"
3 -version = "0.5" 3 +version = "0.6.0"
4 author = "Göran Krampe" 4 author = "Göran Krampe"
5 description = "Utility that helps with big files in git, very similar to git-fat, s3annnex etc." 5 description = "Utility that helps with big files in git, very similar to git-fat, s3annnex etc."
6 license = "MIT" 6 license = "MIT"
@@ -8,5 +8,4 @@ license = &quot;MIT&quot; @@ -8,5 +8,4 @@ license = &quot;MIT&quot;
8 bin = blimp 8 bin = blimp
9 9
10 [Deps] 10 [Deps]
11 -Requires: "nimrod >= 0.15"  
12 -#Requires: "lapp >= 0.1.0" 11 +Requires: "nimrod >= 1.2.0"