Changeset View
Changeset View
Standalone View
Standalone View
Mk/Scripts/cargo-crates.awk
Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | if (gh_tuple_len > 0 && ENVIRON["USE_GITHUB"] == "") { | ||||
printf "USE_GITHUB=\tnodefault\n" | printf "USE_GITHUB=\tnodefault\n" | ||||
} | } | ||||
print_array("GH_TUPLE=", gh_tuple, gh_tuple_len) | print_array("GH_TUPLE=", gh_tuple, gh_tuple_len) | ||||
if (gl_tuple_len > 0 && ENVIRON["USE_GITLAB"] == "") { | if (gl_tuple_len > 0 && ENVIRON["USE_GITLAB"] == "") { | ||||
printf "USE_GITLAB=\tnodefault\n" | printf "USE_GITLAB=\tnodefault\n" | ||||
} | } | ||||
print_array("GL_TUPLE=", gl_tuple, gl_tuple_len) | print_array("GL_TUPLE=", gl_tuple, gl_tuple_len) | ||||
print_array("CARGO_CRATES=", crates, crates_len) | print_array("CARGO_CRATES=", crates, crates_len) | ||||
if (gh_tuple_len > 0) { | |||||
printf "CARGO_USE_GITHUB=\tyes\n" | |||||
} | |||||
if (gl_tuple_len > 0) { | |||||
printf "CARGO_USE_GITLAB=\tyes\n" | |||||
} | |||||
} | } |