FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
GitForDelphi/Rakefile at master · libgit2/GitForDelphi · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Dec 13, 2020. It is now read-only.
libgit2
/
GitForDelphi
Public archive
Notifications
You must be signed in to change notification settings
Fork
47
Star
115
Code
Issues
2
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
GitForDelphi
/
Rakefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
24 lines (19 loc) · 615 Bytes
Breadcrumbs
GitForDelphi
/
Rakefile
Copy path
File metadata and controls
24 lines (19 loc) · 615 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
task
:clean
do
sh
"rm -f *.dcu tests/*.dcu tests/*.exe tests/*.identcache tests/*.local tests/TestsFromLibGit2/*.dcu "
end
task
:binary
do
if
!
ENV
[
'msg'
]
puts
"Please pass in a msg: rake binary msg=
\"
commit message
\"
"
exit
end
ENV
[
'GIT_INDEX_FILE'
]
=
'.git/i'
`git hash-object -w README.md`
`git hash-object -w tests/git2.dll`
`git reset binary README.md`
`git add -f tests/git2.dll`
tsha
=
`git write-tree`
csha
=
`echo
#{
ENV
[
'msg'
]
}
| git commit-tree
#{
tsha
}
`
`git update-ref refs/heads/binary
#{
csha
.
strip
}
`
ENV
[
'GIT_INDEX_FILE'
]
=
''
`rm .git/i `
end
Back
|
FazBrowse Home
|
New Git URL