Skip to content

Commit

Permalink
Renamed build scenario variable to SI_UNITS_BUILD to prevent likely n…
Browse files Browse the repository at this point in the history
…ame clashes.
  • Loading branch information
Jellix committed Oct 14, 2020
1 parent 2d0faa1 commit 51224f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions alire.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description = "Pretty print physical values in properly scaled metric (SI) units."
name = "si_units"
version = "0.1.2"
version = "0.1.3"
authors = ["Vinzent \"Jellix\" Saranen"]
website = "https://github.heisenbug.eu/si_units"
licenses = ["WTFPL"]
Expand All @@ -10,7 +10,4 @@ project-files = ["si_units_lib.gpr"]
tags = ["utilities", "formatting"]

[gpr-externals]
BUILD = ["debug", "release"]

[gpr-set-externals]
BUILD = "release"
SI_UNITS_BUILD = ["debug", "release"]
2 changes: 1 addition & 1 deletion si_units_common.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ abstract project SI_Units_Common is

type Build_Type is ("debug", "release");

Build : Build_Type := external ("build", "release");
Build : Build_Type := external ("SI_UNITS_BUILD", "release");

Compiler_Switches := ("-gnat12", "-gnatw.e.Y", "-gnatyAM80OSabcdefhiklnoprstu", "-gnata", "-gnato", "-fstack-check");

Expand Down

0 comments on commit 51224f2

Please sign in to comment.