# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/cipd/cipd.conf # Copyright (C) 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- export CGO_ENABLED=1 var_insert taropt ' ' --one-top-level var_append goconfopt ' ' ./client/cmd/$pkg var_remove GCC_WRAPPER_REMOVE ' ' '-gdwarf*' hook_add prepatch 5 cipd_prepare hook_add postmake 5 "install ./cipd $root$bindir/" cipd_prepare() { go mod init cipdmod go mod tidy }