Monorepo for Tangled

nix: comment out cbor marshaler/unmarshaler before goimport check

Signed-off-by: Seongmin Lee <git@boltless.me>

authored by

Seongmin Lee and committed by tangled.org 23fa27d4 e0b3f4a6

+3
+3
flake.nix
··· 284 rm -f api/tangled/* 285 lexgen --build-file lexicon-build-config.json lexicons 286 sed -i.bak 's/\tutil/\/\/\tutil/' api/tangled/* 287 ${pkgs.gotools}/bin/goimports -w api/tangled/* 288 go run ./cmd/cborgen/ 289 lexgen --build-file lexicon-build-config.json lexicons
··· 284 rm -f api/tangled/* 285 lexgen --build-file lexicon-build-config.json lexicons 286 sed -i.bak 's/\tutil/\/\/\tutil/' api/tangled/* 287 + # lexgen generates incomplete Marshaler/Unmarshaler for union types 288 + find api/tangled/*.go -not -name "cbor_gen.go" -exec \ 289 + sed -i '/^func.*\(MarshalCBOR\|UnmarshalCBOR\)/,/^}/ s/^/\/\/ /' {} + 290 ${pkgs.gotools}/bin/goimports -w api/tangled/* 291 go run ./cmd/cborgen/ 292 lexgen --build-file lexicon-build-config.json lexicons