mirror of https://github.com/go-python/gopy.git
few more minor fixes
This commit is contained in:
parent
8c4f9979b4
commit
737fe7c66d
|
@ -124,6 +124,7 @@ func runBuild(exe bool, odir, outname, cmdstr, vm, mainstr string, symbols bool)
|
|||
|
||||
err = os.Remove(outname + "_go" + libExt)
|
||||
|
||||
fmt.Printf("go build\n")
|
||||
cmd = exec.Command("go", "build")
|
||||
cmdout, err = cmd.CombinedOutput()
|
||||
if err != nil {
|
||||
|
|
|
@ -96,7 +96,7 @@ gen:
|
|||
|
||||
build:
|
||||
$(MAKE) -C %[1]s build
|
||||
|
||||
|
||||
install:
|
||||
# this does a local install of the package, building the sdist and then directly installing it
|
||||
rm -rf dist build */*.egg-info *.egg-info
|
||||
|
@ -105,7 +105,7 @@ install:
|
|||
|
||||
install-exe:
|
||||
# install executable into /usr/local/bin
|
||||
cp %[1]s /usr/local/bin
|
||||
cp %[1]s/%[1]s /usr/local/bin
|
||||
|
||||
`
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue