-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
33 lines (27 loc) · 789 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
unity-lens-vim
==============
A lens for Ubuntu Unity that searches your vim edit history. Supports
glob-style wildcarding and tilde expansion.
Installation
------------
dpkg --install unity-lens-vim_0.0.2_all.deb
setsid unity
Unit tests
----------
quickly test
Packaging
---------
Bash script to create .deb package using quickly(1) by exporting git
repository to temporary bazaar repository:
#!/bin/bash -e
git_branch=$(git symbolic-ref HEAD 2>/dev/null | cut -d"/" -f 3) # fails on detached head
if [[ "$git_branch" == master ]] ; then
bzr_branch=trunk
else
bzr_branch="$git_branch"
fi
bzrdir=$(mktemp --directory)
bzr init-repo "$bzrdir"
git fast-export -M "$git_branch" | (cd "$bzrdir" && bzr fast-import -)
(cd "$bzrdir/$bzr_branch" && quickly package)
mv "$bzrdir"/*.deb .