Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Go RPC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reviath
Go RPC
Commits
daa6637d
Commit
daa6637d
authored
May 19, 2021
by
Reviath
Browse files
Options
Downloads
Patches
Plain Diff
Added Makefile, .gitlab-ci.yml
parent
695b0413
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+20
-0
20 additions, 0 deletions
.gitlab-ci.yml
Makefile
+24
-0
24 additions, 0 deletions
Makefile
with
44 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
20
−
0
View file @
daa6637d
image
:
golang:1.16.4
cache
:
key
:
FeelsKappa
paths
:
-
build/go/
stages
:
-
build
build
:
stage
:
build
script
:
-
GOPATH=$PWD/build/go make;
-
GOPATH=$PWD/build/go GOOS=windows make;
-
cd build; tar zcf go-rpc.tar.gz go-rpc go-rpc; cd ../
artifacts
:
paths
:
-
build/go-rpc
expire_in
:
1 week
This diff is collapsed.
Click to expand it.
Makefile
0 → 100644
+
24
−
0
View file @
daa6637d
.NOTPARALLEL
:
static-arg nowindowsgui build start
SHELL
=
sh
all
:
build
static
:
static-arg build
run
:
nowindowsgui build start
.PHONY
:
static-arg
static-arg
:
$(
eval
STATIC_LDFLAGS
=
-extldflags
"-static"
)
.PHONY
:
nowindowsgui
nowindowsgui
:
$(
eval
WINDOW_LDFLAGS
=
)
.PHONY
:
build
build
:
@
echo
"Building to build/remiliascarlet."
@
go build
-tags
=
jsoniter
-ldflags
=
"
$(
LDFLAGS
)
$(
STATIC_LDFLAGS
)
$(
WINDOW_LDFLAGS
)
"
-o
build/gorpc
$(
shell go
env
GOEXE
)
main.go
@
echo
"Successfully builded, ready to start."
.PHONY
:
start
start
:
@
./build/gorpc
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