xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit 633764e4ff9bd3b14f340e7a8f17dc176d60dd24

Better error handling for Windows deploy archiving
Author: xaizek
Author date (UTC): 2015-06-18 15:53
Committer name: xaizek
Committer date (UTC): 2015-06-18 15:54
Parent(s): be9babea4a42bae0b58284fa0a88241a417b3bbc
Signing key:
Tree: 6ab79234b25132e5bb473a471e614e46c1c2081d
File Lines added Lines deleted
deploy 7 6
File deploy changed (mode: 100755) (index f2e90d898..0b068ae6f)
... ... if [ "$target" = all -o "$target" = archive ]; then
97 97 git archive "v$ver" --prefix "vifm-$ver/" --format tar | git archive "v$ver" --prefix "vifm-$ver/" --format tar |
98 98 bzip2 > "$archive_name" bzip2 > "$archive_name"
99 99 else else
100 # remove config.h
101 if [ -f config.h ]; then
102 rm config.h
103 fi
100 # remove config.h to make Makefile.win install default configuration
101 rm -f config.h
104 102
105 103 # build vifm # build vifm
106 RELEASE=1 make -B -C src -f Makefile.win
107 if [ "$?" != "0" ]; then
104 if ! RELEASE=1 make -B -C src/ -f Makefile.win; then
108 105 echo "ERROR: Building project failed." echo "ERROR: Building project failed."
109 106 exit 3 exit 3
110 107 fi fi
111 108
109 set -e
110
112 111 dir="vifm-w32-$ver-binary" dir="vifm-w32-$ver-binary"
113 112 rm -rf "$dir" rm -rf "$dir"
114 113 mkdir "$dir" mkdir "$dir"
 
... ... if [ "$target" = all -o "$target" = archive ]; then
135 134 archive_name="$dir.zip" archive_name="$dir.zip"
136 135 rm -f "$archive_name" rm -f "$archive_name"
137 136 zip -9 -r "$archive_name" "$dir" zip -9 -r "$archive_name" "$dir"
137
138 set +e
138 139 fi fi
139 140 echo "Archive: $archive_name" echo "Archive: $archive_name"
140 141 fi fi
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master