Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Go Httpbin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Nix
Go Httpbin
Commits
1925b06c
Commit
1925b06c
authored
7 years ago
by
Will McCutchen
Browse files
Options
Downloads
Patches
Plain Diff
Move main package into cmd subdir
parent
9e4e1b6a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+1
-0
1 addition, 0 deletions
.travis.yml
Makefile
+2
-7
2 additions, 7 deletions
Makefile
cmd/go-httpbin/main.go
+0
-0
0 additions, 0 deletions
cmd/go-httpbin/main.go
with
3 additions
and
7 deletions
.travis.yml
+
1
−
0
View file @
1925b06c
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
language
:
go
language
:
go
go
:
go
:
-
1.7
-
1.7
-
1.8
-
tip
-
tip
script
:
make test
script
:
make test
notifications
:
notifications
:
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
2
−
7
View file @
1925b06c
build
:
dist/go-httpbin
build
:
dist/go-httpbin
dist/go-httpbin
:
assets *.go httpbin/*.go
dist/go-httpbin
:
assets
cmd/go-httpbin/
*.go httpbin/*.go
mkdir
-p
dist
mkdir
-p
dist
go build
-o
dist/go-httpbin
go build
-o
dist/go-httpbin
./cmd/go-httpbin
assets
:
httpbin/assets/*
assets
:
httpbin/assets/*
go-bindata
-o
httpbin/assets.go
-pkg
=
httpbin
-prefix
=
httpbin/assets httpbin/assets
go-bindata
-o
httpbin/assets.go
-pkg
=
httpbin
-prefix
=
httpbin/assets httpbin/assets
...
@@ -18,11 +18,6 @@ testcover: assets
...
@@ -18,11 +18,6 @@ testcover: assets
run
:
build
run
:
build
./dist/go-httpbin
./dist/go-httpbin
watch
:
# brew install entr
# https://bitbucket.org/eradman/entr/
ls
*
/
*
.go | entr
-r
-s
"go build -o dist/go-httpbin && dist/go-httpbin"
clean
:
clean
:
rm
-r
dist
rm
-r
dist
...
...
This diff is collapsed.
Click to expand it.
main.go
→
cmd/go-httpbin/
main.go
+
0
−
0
View file @
1925b06c
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment