Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitflow
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tools
gitflow
Commits
1db658f5
Commit
1db658f5
authored
Feb 02, 2010
by
Vincent Driessen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/fix-installer' into develop
parents
eec73c67
c3b7db9d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
11 deletions
+18
-11
Makefile
Makefile
+16
-10
git-flow
git-flow
+1
-1
shFlags.sh
shFlags.sh
+1
-0
No files found.
Makefile
View file @
1db658f5
GIT_EXEC_PATH
=
`
git
--exec-path
2>/dev/null
||
echo
/usr/libexec/git-core
`
GIT_EXEC_PATH
=
`
git
--exec-path
2>/dev/null
||
echo
/usr/libexec/git-core
`
# files that need mode 755
EXEC_FILES
=
git-flow
# files that need mode 644
SCRIPT_FILES
=
git-flow-feature
SCRIPT_FILES
+=
git-flow-hotfix
SCRIPT_FILES
+=
git-flow-release
SCRIPT_FILES
+=
git-flow-support
SCRIPT_FILES
+=
git-flow-version
SCRIPT_FILES
+=
shFlags.sh
all
:
all
:
@
echo
"usage: make install"
@
echo
"usage: make install"
@
echo
" make uninstall"
@
echo
" make uninstall"
install
:
install
:
# TODO: Add installation of shFlags to this file too
install
-d
-m
0755
$(GIT_EXEC_PATH)
install
-d
-m
0755
$(GIT_EXEC_PATH)
install
-m
0755 git-flow
$(GIT_EXEC_PATH)
install
-m
0755
$(EXEC_FILES)
$(GIT_EXEC_PATH)
install
-m
0644
\
install
-m
0644
$(SCRIPT_FILES)
$(GIT_EXEC_PATH)
git-flow-feature
\
git-flow-hotfix
\
git-flow-release
\
git-flow-support
\
git-flow-version
\
$(GIT_EXEC_PATH)
uninstall
:
uninstall
:
test
-d
$(GIT_EXEC_PATH)
&&
rm
-f
$(GIT_EXEC_PATH)
/git-flow
*
test
-d
$(GIT_EXEC_PATH)
&&
\
cd
$(GIT_EXEC_PATH)
&&
\
rm
-f
$(EXEC_FILES)
$(SCRIPT_FILES)
git-flow
View file @
1db658f5
...
@@ -54,7 +54,7 @@ main() {
...
@@ -54,7 +54,7 @@ main() {
fi
fi
# use the shFlags project to parse the command line arguments
# use the shFlags project to parse the command line arguments
.
"
$GITFLOW_DIR
/shFlags
/src/shflags
"
.
"
$GITFLOW_DIR
/shFlags
.sh
"
#DEFINE_boolean quiet 0 'run without output' q
#DEFINE_boolean quiet 0 'run without output' q
#DEFINE_boolean verbose 0 'run verbose (more output)' v
#DEFINE_boolean verbose 0 'run verbose (more output)' v
FLAGS
"
$@
"
||
exit
$?
FLAGS
"
$@
"
||
exit
$?
...
...
shFlags.sh
0 → 120000
View file @
1db658f5
shFlags/src/shflags
\ No newline at end of file
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