Skip to content

Commit

Permalink
Bump 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dd86k committed Jan 22, 2021
1 parent ab98cef commit a6a6c2b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ description "dd's hashing utility"
homepage "https://github.com/dd86k/ddh"
authors "dd86k <[email protected]>"
license "public domain"
dependency "sha3-d" version="~>1.0.0"

buildType "release-static" {
dflags "--static" platform="ldc"
buildOptions "releaseMode" "noBoundsCheck" "optimize"
}

buildType "release-extreme" {
dflags "--checkaction=halt" "--float-abi=hard" "--ffast-math" platform="ldc"
dflags "-ffast-math" platform="gdc"
Expand All @@ -15,9 +18,10 @@ buildType "release-extreme" {
dflags "--checkaction=halt" "--float-abi=hard" "--ffast-math" "--mcpu=core2" platform="x86-ldc"
buildOptions "releaseMode" "noBoundsCheck" "optimize"
}

# Verbose on GC usage
buildType "debug-gc" {
dflags "-vgc" platform="dmd"
dflags "--vgc" platform="ldc"
buildOptions "debugMode"
}
dependency "sha3-d" version="~>1.0.0"
8 changes: 4 additions & 4 deletions src/main.d
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ extern (C) __gshared string[] rt_options = [ "cleanup:none" ];
// The DRT CLI is pretty useless
extern (C) __gshared bool rt_cmdline_enabled = false;

debug enum BUILD_TYPE = "debug";
else enum BUILD_TYPE = "release";
debug enum BUILD_TYPE = "-debug";
else enum BUILD_TYPE = "";

enum PROJECT_VERSION = "0.4.2";
enum PROJECT_VERSION = "1.0.0";
enum PROJECT_NAME = "ddh";

enum DEFAULT_CHUNK_SIZE = 64 * 1024;
Expand All @@ -34,7 +34,7 @@ struct ArgInput
alias process_func_t = int function(ref ArgInput);

immutable string TEXT_VERSION =
PROJECT_NAME~` v`~PROJECT_VERSION~`-`~BUILD_TYPE~` (`~__TIMESTAMP__~`)
PROJECT_NAME~` v`~PROJECT_VERSION~BUILD_TYPE~` (`~__TIMESTAMP__~`)
Compiler: `~__VENDOR__~" FE v"~format("%u.%03u", version_major, version_minor);

immutable string TEXT_HELP =
Expand Down

0 comments on commit a6a6c2b

Please sign in to comment.