srclib is a polyglot code analysis library, built for hackability. It consists of language analysis toolchains (currently for Go and Java, with Python, JavaScript, and Ruby in beta) with a common output format, and a CLI tool for running the analysis.
os.Symlink makes "file-type" symbolic links on Windows while cd foo && make requires "foo" to be either directory or so-called "directory symbolic link". This was the reason that it was impossible to install go toolchain on Windows because attempt to execute make in file-type symbolic link failed. I also had to change execution order from (symlink, clone) to (clone, symlink) when installing Go toolchain
thou shall not emit backslashes when generating Makefile commands, they being cut making command not runnable
os.Symlink
makes "file-type" symbolic links on Windows whilecd foo && make
requires "foo" to be either directory or so-called "directory symbolic link". This was the reason that it was impossible to install go toolchain on Windows because attempt to executemake
in file-type symbolic link failed. I also had to change execution order from (symlink, clone) to (clone, symlink) when installing Go toolchain