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 9ac120a5
authored
Oct 03, 2017
by
Iwasaki Yudai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support local webpack
1 parent
0bb62e03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
Makefile
Makefile
View file @
9ac120a
...
@@ -6,10 +6,12 @@ BUILD_OPTIONS = -ldflags "-X main.Version=$(VERSION) -X main.CommitID=$(GIT_COMM
...
@@ -6,10 +6,12 @@ BUILD_OPTIONS = -ldflags "-X main.Version=$(VERSION) -X main.CommitID=$(GIT_COMM
gotty
:
main.go server/*.go webtty/*.go backend/*.go Makefile
gotty
:
main.go server/*.go webtty/*.go backend/*.go Makefile
godep go build
${
BUILD_OPTIONS
}
godep go build
${
BUILD_OPTIONS
}
.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
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/...
go-bindata -prefix bindata -pkg server -ignore
=
\\
.gitkeep -o server/asset.go bindata/...
gofmt -w server/asset.go
gofmt -w server/asset.go
.PHONY
:
all
all
:
asset gotty
all
:
asset gotty
bindata
:
bindata
:
...
@@ -47,11 +49,13 @@ js/node_modules/xterm/dist/xterm.css:
...
@@ -47,11 +49,13 @@ js/node_modules/xterm/dist/xterm.css:
cd
js
&&
\
cd
js
&&
\
npm install
npm install
js/dist/gotty-bundle.js
:
js/src/*
js/dist/gotty-bundle.js
:
js/src/*
js/node_modules/webpack
cd
js
&&
\
cd
js
&&
\
webpack
`
npm bin
`
/webpack
js/node_modules/webpack
:
cd
js
&&
\
npm install
tools
:
tools
:
go get github.com/tools/godep
go get github.com/tools/godep
...
...
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