예제 #1
0
파일: linker.go 프로젝트: nmakiya/tritium
func RunWithPackage(projectPath, scriptPath, fileName string, pkg *tp.Package, layers []string) (*tp.Transform, error) {
	objs := parser.ParseFileSet(projectPath, scriptPath, fileName, false, layers)
	return runWithObjs(objs, pkg, projectPath, scriptPath, layers)
}
예제 #2
0
파일: checker.go 프로젝트: nmakiya/tritium
func CheckFile(projectPath, scriptPath, fileName string, layers []string) *CheckResult {
	objs := parser.ParseFileSet(projectPath, scriptPath, fileName, false, layers)
	return CheckBeforeLinking(objs)
}