This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go get github.com/mitchellh/gox | |
go get golang.org/x/tools/cmd/stringer | |
go generate . | |
2016/07/04 12:04:55 Generated command/plugin.go | |
go fmt command/plugin.go | |
command/plugin.go | |
# github.com/ebelew/packer/builder/amazon/chroot | |
builder/amazon/chroot/builder.go:140: cannot use config (type *"github.com/mitchellh/packer/vendor/github.com/aws/aws-sdk-go/aws".Config) as type *"github.com/ebelew/packer/vendor/github.com/aws/aws-sdk-go/aws".Config in argument to "github.com/ebelew/packer/vendor/github.com/aws/aws-sdk-go/aws/session".New | |
builder/amazon/chroot/builder.go:159: cannot use "github.com/mitchellh/packer/builder/amazon/common".StepPreValidate literal (type *"github.com/mitchellh/packer/builder/amazon/common".StepPreValidate) as type "github.com/ebelew/packer/vendor/github.com/mitchellh/multistep".Step in array or slice literal: | |
*"github.com/mitchellh/packer/builder/amazon/common".StepPreValidate does not implement "github.com/ebelew/packer/vendor/github.com/mitchellh/multistep".Step (wrong type for Cleanup m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################### | |
# Profiling method | |
# Usage: TimeThis({ <code> }, "optional name/message for this script block") | |
# | |
########################################################### | |
function TimeThis([scriptblock]$scriptblock, $msg) | |
{ | |
if (!$stopWatch) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# ########################################################## | |
Profiling method | |
Usage: | |
Measure-Scriptblock { <code> } "optional name/message for this script block" | |
Measure-Scriptblock -Scriptblock { <code> } -$Message "optional name/message for this script block" | |
########################################################## #> | |
param ( |