Skip to content

Commit

Permalink
change to reference checked in binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
KnicKnic committed Oct 21, 2019
1 parent 74fc61d commit b295cee
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module github.com/KnicKnic/go-powershell
go 1.12

require (
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb
k8s.io/klog v1.0.0
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb h1:fgwFCsaw9buMuxNd6+DQfAuSFqbNiQZpcgJQAgJsK6k=
golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8=
Expand Down
2 changes: 1 addition & 1 deletion pkg/powershell/chelpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
/*
#cgo CFLAGS: -I.
#cgo LDFLAGS: -static ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#cgo LDFLAGS: -static ${SRCDIR}/../../bin/psh_host.dll
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion pkg/powershell/hostcommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package powershell
/*
#cgo CFLAGS: -I.
#cgo LDFLAGS: -static ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#cgo LDFLAGS: -static ${SRCDIR}/../../bin/psh_host.dll
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion pkg/powershell/powershell.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stddef.h>
#include "powershell.h"
#include "./../../native-powershell/native-powershell-bin/host.h"
#include "./../../bin/host.h"

#include <stdio.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion pkg/powershell/powershell.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
/*
#cgo CFLAGS: -I.
#cgo LDFLAGS: -static ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#cgo LDFLAGS: -static ${SRCDIR}/../../bin/psh_host.dll
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion pkg/powershell/powershell.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#include "./../../native-powershell/native-powershell-bin/host.h"
#include "./../../bin/host.h"
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion pkg/powershell/powershellobjects.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package powershell
/*
#cgo CFLAGS: -I.
#cgo LDFLAGS: -static ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#cgo LDFLAGS: -static ${SRCDIR}/../../bin/psh_host.dll
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion pkg/powershell/runspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package powershell
/*
#cgo CFLAGS: -I.
#cgo LDFLAGS: -static ${SRCDIR}/../../native-powershell/native-powershell-bin/psh_host.dll
#cgo LDFLAGS: -static ${SRCDIR}/../../bin/psh_host.dll
#include <stddef.h>
Expand Down

0 comments on commit b295cee

Please sign in to comment.