Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chain33-pai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
szh
chain33-pai
Commits
cb99f86a
Commit
cb99f86a
authored
Apr 03, 2020
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
44b0eee0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
Makefile
Makefile
+12
-10
No files found.
Makefile
View file @
cb99f86a
...
...
@@ -2,20 +2,22 @@
check
=
$(
shell
if
[
!
-d
"./build/"
]
;
then
mkdir
build
;
else
echo
"exist"
;
fi
;
)
version
=
$(
shell
./version.sh
)
tarfile
=
$(
shell
echo
"
build/
chain33-pai_
$(version)
.tar.gz"
|
sed
s/[[:space:]]//g
)
tarfile
=
$(
shell
echo
"chain33-pai_
$(version)
.tar.gz"
|
sed
s/[[:space:]]//g
)
all
:
build
build
:
@
go build
-v
.
@
go build
-v
-o
pai
.
@
echo
$(check)
@
rm
-rf
build/chain33-pai
@
mkdir
build/chain33-pai
@
cp
chain33-pai build/chain33-pai
@
cp
*
.sh build/chain33-pai
@
cp
-r
scripts build/chain33-pai
@
chmod
+x build/chain33-pai/
*
.sh
@
chmod
+x build/chain33-pai/scripts/
*
.sh
@
tar
cvfpz
$(tarfile)
build/chain33-pai
@
rm
-rf
chain33-pai
@
mkdir
chain33-pai
@
mv
pai chain33-pai/chain33-pai
@
cp
*
.sh chain33-pai
@
cp
-r
scripts chain33-pai
@
chmod
+x chain33-pai/
*
.sh
@
chmod
+x chain33-pai/scripts/
*
.sh
@
tar
cvfpz
$(tarfile)
chain33-pai
@
mv
$(tarfile)
build
@
rm
-rf
chain33-pai
@
echo
"ok"
tool
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment