Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
haoqu.ma
/
gotty
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2f69883b
authored
Feb 28, 2020
by
Stephan van Ellewee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make docker
1 parent
1680db09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
Makefile
Makefile
View file @
2f69883
...
...
@@ -6,13 +6,17 @@ BUILD_OPTIONS = -ldflags "-X main.Version=$(VERSION) -X main.CommitID=$(GIT_COMM
gotty
:
main.go server/*.go webtty/*.go backend/*.go Makefile
go build
${
BUILD_OPTIONS
}
docker
:
docker build . -t gotty-bash:
$(VERSION)
.PHONY
:
asset
asset
:
bindata/static/js/gotty-bundle.js bindata/static/index.html bindata/static/favicon.png bindata/static/css/index.css bindata/static/css/xterm.css bindata/static/css/xterm_customize.css
go-bindata -prefix bindata -pkg server -ignore
=
\\
.gitkeep -o server/asset.go bindata/...
gofmt -w server/asset.go
.PHONY
:
all
all
:
asset gotty
all
:
asset gotty
docker
bindata
:
mkdir bindata
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment