Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
642a4586
Commit
642a4586
authored
Mar 23, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do things the "Go" way
parent
62943528
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
16 deletions
+1
-16
Makefile
Makefile
+1
-1
packer.go
packer.go
+0
-4
setup.sh
setup.sh
+0
-11
No files found.
Makefile
View file @
642a4586
all
:
@
mkdir
-p
bin/
go build
-o
bin/packer
packer/bin-packer
go build
-o
bin/packer
.PHONY
:
all
src/packer/bin-packer/main
.go
→
packer
.go
View file @
642a4586
...
...
@@ -2,11 +2,7 @@
package
main
import
(
"fmt"
"os"
)
func
main
()
{
fmt
.
Printf
(
"%#v
\n
"
,
os
.
Args
)
fmt
.
Println
(
"Hello, world."
)
}
setup.sh
deleted
100755 → 0
View file @
62943528
#!/usr/bin/env bash
# Get the full path to the directory where this script is, because
# GOPATH prefers full paths.
SOURCE
=
"
${
BASH_SOURCE
[0]
}
"
while
[
-h
"
$SOURCE
"
]
;
do
SOURCE
=
"
$(
readlink
"
$SOURCE
"
)
"
;
done
DIR
=
"
$(
cd
-P
"
$(
dirname
"
$SOURCE
"
)
"
&&
pwd
)
"
# Setup our GOPATH
echo
"Setting GOPATH to:
${
DIR
}
"
export
GOPATH
=
"
${
DIR
}
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment