MCPcopy Index your code
hub / github.com/celer-pkg/celer / newBuildConfig

Function newBuildConfig

configs/pkgcache_repo_test.go:85–95  ·  view source on GitHub ↗
(ctx context.Context, repoDir string)

Source from the content-addressed store, hash-verified

83}
84
85func newBuildConfig(ctx context.Context, repoDir string) buildsystems.BuildConfig {
86 return buildsystems.BuildConfig{
87 Ctx: ctx,
88 PortConfig: buildsystems.PortConfig{
89 LibName: "x264",
90 LibVersion: "stable",
91 ProjectName: "proj",
92 RepoDir: repoDir,
93 },
94 }
95}
96
97func setupArchiveFile(t *testing.T, tmpWorkspace string) (archivePath string, archiveSha string) {
98 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected