diff --git a/otpr-zx-0.9.2.zsp b/otpr-zx-0.9.2.zsp deleted file mode 100644 index dd42b09..0000000 Binary files a/otpr-zx-0.9.2.zsp and /dev/null differ diff --git a/zomp/lib/otpr/zx/0.10.4/src/zx_local.erl b/zomp/lib/otpr/zx/0.10.4/src/zx_local.erl index 7838980..ee965ba 100644 --- a/zomp/lib/otpr/zx/0.10.4/src/zx_local.erl +++ b/zomp/lib/otpr/zx/0.10.4/src/zx_local.erl @@ -47,7 +47,7 @@ -record(project, {type = none :: none | app | lib | cli | gui | escript, - license = none :: none | none | undefined | string(), + license = none :: none | none | skip | string(), name = none :: none | string(), desc = none :: none | string(), repo_url = none :: none | string(), @@ -1617,6 +1617,7 @@ substitute(Cooked, []) -> unicode:characters_to_binary(Cooked, utf8). +license(skip) -> ""; license("") -> ""; license(Title) -> "-license(\""++ Title ++ "\").". @@ -2396,7 +2397,7 @@ ask_license() -> {"[skip and leave blank]", skip}], case zx_tty:select(Options) of skip -> - ""; + skip; proprietary -> Notice = "~nNOTE ON PROPRIETARY USE~n" @@ -2406,7 +2407,7 @@ ask_license() -> "If not (mostly when deploying client-side code that links to ZX or " "other GPL/dual-license libraries), Zomp/ZX should be dual-licensed.~n", ok = io:format(Notice), - ""; + skip; License -> License end.