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 513b3a5c
authored
Sep 28, 2017
by
Iwasaki Yudai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not compile asset by default
Run make all instead when you recreate server/asset.go.
1 parent
79e13282
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
Makefile
Makefile
View file @
513b3a5
...
...
@@ -3,16 +3,15 @@ GIT_COMMIT = `git rev-parse HEAD | cut -c1-7`
VERSION
=
2.0.0-alpha.2
BUILD_OPTIONS
=
-ldflags
"-X main.Version=
$(VERSION)
-X main.CommitID=
$(GIT_COMMIT)
"
gotty
:
server/asset.go main.go server/*.go webtty/*.go backend/*.go Makefile
gotty
:
main.go server/*.go webtty/*.go backend/*.go Makefile
godep go build
${
BUILD_OPTIONS
}
asset
:
server/asset.go
server/asset.go
:
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
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
all
:
asset gotty
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