You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<
510C
script type="application/json" data-target="react-app.embeddedData">{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":"builder","path":"builder","contentType":"directory"},{"name":"command","path":"command","contentType":"directory"},{"name":"common","path":"common","contentType":"directory"},{"name":"communicator","path":"communicator","contentType":"directory"},{"name":"contrib","path":"contrib","contentType":"directory"},{"name":"examples","path":"examples","contentType":"directory"},{"name":"fix","path":"fix","contentType":"directory"},{"name":"helper","path":"helper","contentType":"directory"},{"name":"packer","path":"packer","contentType":"directory"},{"name":"plugin","path":"plugin","contentType":"directory"},{"name":"post-processor","path":"post-processor","contentType":"directory"},{"name":"provisioner","path":"provisioner","contentType":"directory"},{"name":"scripts","path":"scripts","contentType":"directory"},{"name":"template","path":"template","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":"vendor","path":"vendor","contentType":"directory"},{"name":"version","path":"version","contentType":"directory"},{"name":"website","path":"website","contentType":"directory"},{"name":".gitattributes","path":".gitattributes","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"CHANGELOG.md","path":"CHANGELOG.md","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"Makefile","path":"Makefile","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"Vagrantfile","path":"Vagrantfile","contentType":"file"},{"name":"appveyor.yml","path":"appveyor.yml","contentType":"file"},{"name":"azure-merge.sh","path":"azure-merge.sh","contentType":"file"},{"name":"checkpoint.go","path":"checkpoint.go","contentType":"file"},{"name":"commands.go","path":"commands.go","contentType":"file"},{"name":"config.go","path":"config.go","contentType":"file"},{"name":"log.go","path":"log.go","contentType":"file"},{"name":"main.go","path":"main.go","contentType":"file"},{"name":"main_test.go","path":"main_test.go","contentType":"file"},{"name":"panic.go","path":"panic.go","contentType":"file"},{"name":"stdin.go","path":"stdin.go","contentType":"file"}],"totalCount":38}},"fileTreeProcessingTime":14.434505999999999,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":93811438,"defaultBranch":"master","name":"packer","ownerLogin":"yyuu","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2017-06-09T02:38:29.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/63651?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1497046961.0","canEdit":false,"refType":"branch","currentOid":"8fb3170fcafedd1cb2e73534049a786f6f566cfd"},"path":"Makefile","currentUser":null,"blob":{"rawLines":["TEST?=$(shell go list ./... | grep -v vendor)","VET?=$(shell ls -d */ | grep -v vendor | grep -v website)","# Get the current full sha from git","GITSHA:=$(shell git rev-parse HEAD)","# Get the current local branch name from git (if we can, this may be blank)","GITBRANCH:=$(shell git symbolic-ref --short HEAD 2\u003e/dev/null)","GOFMT_FILES?=$$(find . -not -path \"./vendor/*\" -name \"*.go\")","GOOS=$(shell go env GOOS)","GOARCH=$(shell go env GOARCH)","","# Get the git commit","GIT_DIRTY=$(shell test -n \"`git status --porcelain`\" \u0026\u0026 echo \"+CHANGES\" || true)","GIT_COMMIT=$(shell git rev-parse --short HEAD)","GIT_IMPORT=github.com/hashicorp/packer/version","GOLDFLAGS=-X $(GIT_IMPORT).GitCommit=$(GIT_COMMIT)$(GIT_DIRTY)","","export GOLDFLAGS","","default: deps generate test dev","","ci: deps test","","release: deps test releasebin package ## Build a release build","","bin: deps ## Build debug/test build","\t@go get github.com/mitchellh/gox","\t@echo \"WARN: 'make bin' is for debug / test builds only. Use 'make release' for release builds.\"","\t@sh -c \"$(CURDIR)/scripts/build.sh\"","","releasebin: deps","\t@go get github.com/mitchellh/gox","\t@grep 'const VersionPrerelease = \"dev\"' version/version.go \u003e /dev/null ; if [ $$? -eq 0 ]; then \\","\t\techo \"ERROR: You must remove prerelease tags from version/version.go prior to release.\"; \\","\t\texit 1; \\","\tfi","\t@sh -c \"$(CURDIR)/scripts/build.sh\"","","package:","\t$(if $(VERSION),,@echo 'VERSION= needed to release; Use make package skip compilation'; exit 1)","\t@sh -c \"$(CURDIR)/scripts/dist.sh $(VERSION)\"","","deps:","\t@go get golang.org/x/tools/cmd/stringer","\t@go get github.com/kardianos/govendor","\t@govendor sync","","dev: deps ## Build and install a development build","\t@grep 'const VersionPrerelease = \"\"' version/version.go \u003e /dev/null ; if [ $$? -eq 0 ]; then \\","\t\techo \"ERROR: You must add prerelease tags to version/version.go prior to making a dev build.\"; \\","\t\texit 1; \\","\tfi","\t@mkdir -p pkg/$(GOOS)_$(GOARCH)","\t@go install -ldflags '$(GOLDFLAGS)'","\t@cp $(GOPATH)/bin/packer bin","\t@cp $(GOPATH)/bin/packer pkg/$(GOOS)_$(GOARCH)","","fmt: ## Format Go code","\t@gofmt -w -s $(GOFMT_FILES)","","fmt-check: ## Check go code formatting","\t$(CURDIR)/scripts/gofmtcheck.sh $(GOFMT_FILES)","","# Install js-beautify with npm install -g js-beautify","fmt-examples:","\tfind examples -name *.json | xargs js-beautify -r -s 2 -n -eol \"\\n\"","","# generate runs `go generate` to build the dynamically generated","# source files.","generate: deps ## Generate dynamically generated code","\tgo generate .","\tgofmt -w command/plugin.go","","test: deps fmt-check ## Run unit tests","\t@go test $(TEST) $(TESTARGS) -timeout=2m","\t@go tool vet $(VET) ; if [ $$? -eq 1 ]; then \\","\t\techo \"ERROR: Vet found problems in the code.\"; \\","\t\texit 1; \\","\tfi","","# testacc runs acceptance tests","testacc: deps generate ## Run acceptance tests","\t@echo \"WARN: Acceptance tests will take a long time to run and may cost money. Ctrl-C if you want to cancel.\"","\tPACKER_ACC=1 go test -v $(TEST) $(TESTARGS) -timeout=45m","","testrace: deps ## Test for race conditions","\t@go test -race $(TEST) $(TESTARGS) -timeout=2m","","updatedeps:","\t@echo \"INFO: Packer deps are managed by govendor. See CONTRIBUTING.md\"","","help:","\t@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = \":.*?## \"}; {printf \"\\033[36m%-30s\\033[0m %s\\n\", $$1, $$2}'","",".PHONY: bin checkversion ci default deps fmt fmt-examples generate releasebin test testacc testrace updatedeps"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/yyuu/packer/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"Makefile","displayUrl":"https://github.com/yyuu/packer/blob/master/Makefile?raw=true","headerInfo":{"blobSize":"3.25 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"ba26299","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fyyuu%2Fpacker%2Fblob%2Fmaster%2FMakefile","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"94","truncatedSloc":"74"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Makefile","languageID":220,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/yyuu/packer/blob/master/Makefile","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/yyuu/packer/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/yyuu/packer/raw/refs/heads/master/Makefile","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":true,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/yyuu/packer/branches":{"post":"C_fdHCVdZi1f1aA1UrkwW3WRxDP82whZ6C_Dj_QPgqC-XT9KhPQVIXJc-lwI-EPMaPdUMezy7Sdh4vXTM3NZOA"},"/repos/preferences":{"post":"GkLojoFo2FZqs36N8NFqhwW4o9umTBuYvgmUWkYCjNbqdipuCEP7w5o12u10GHNCeth8Q5Zc5adXtB8DOnHSaw"}}},"title":"packer/Makefile at master · yyuu/packer","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1b17b3e7786a.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true}}}