mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Fixed recipe for "gws".
This commit is contained in:
@@ -1,41 +1,50 @@
|
||||
SUMMARY="Helper to manage workspaces composed of git repositories"
|
||||
DESCRIPTION="gws is a KISS, bash, colorful helper to manage workspaces composed of git repositories.
|
||||
DESCRIPTION="gws is a KISS, bash, colorful helper to manage workspaces \
|
||||
composed of git repositories.
|
||||
|
||||
If you are, like me, a Linux programmer/hacker/coder who uses heavily git, you certainly have a \
|
||||
directory in your home folder named dev, workspace, code or something else that contains all the \
|
||||
projects you are working on.
|
||||
If you are, like me, a Linux programmer/hacker/coder who uses heavily git, \
|
||||
you certainly have a directory in your home folder named dev, workspace, code \
|
||||
or something else that contains all the projects you are working on.
|
||||
|
||||
Since I use at least three different computers, one laptop, one at home and one at work, I like to \
|
||||
have the same folder structure on all of them. Of course remembering which project was added \
|
||||
recently on others computer and in which folder is tedious.
|
||||
Since I use at least three different computers, one laptop, one at home and \
|
||||
one at work, I like to have the same folder structure on all of them. Of \
|
||||
course remembering which project was added recently on others computer and in \
|
||||
which folder is tedious.
|
||||
|
||||
So I started to thing about using git submodules to register all projects on which I am working \
|
||||
and syncing them with git between the two computers. But clearly git submodules are not usable \
|
||||
because they are working on specific commit and are not following branches.
|
||||
So I started to thing about using git submodules to register all projects on \
|
||||
which I am working and syncing them with git between the two computers. But \
|
||||
clearly git submodules are not usable because they are working on specific \
|
||||
commit and are not following branches.
|
||||
|
||||
No worry. The problem is pretty trivial, so I decided to start write a little bash (YOLO) script \
|
||||
that read a simple list of repositories, and clone them if they don't exist. And then, commit by \
|
||||
commit, the script as grown to finally become a helper to sync, monitor and check workspaces.
|
||||
No worry. The problem is pretty trivial, so I decided to start write a little \
|
||||
bash (YOLO) script that read a simple list of repositories, and clone them if \
|
||||
they don't exist. And then, commit by commit, the script as grown to finally \
|
||||
become a helper to sync, monitor and check workspaces.
|
||||
|
||||
I thought it can be useful to other people, so I made a little cleanup, write a small \
|
||||
documentation, and there it is. I hope you will enjoy it!"
|
||||
I thought it can be useful to other people, so I made a little cleanup, write \
|
||||
a small documentation, and there it is. I hope you will enjoy it!"
|
||||
HOMEPAGE="https://streakycobra.github.io/gws/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2015 Fabien Dubosson"
|
||||
ARCHITECTURES="any"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
|
||||
SOURCE_URI="https://github.com/StreakyCobra/gws/releases/download/0.1.8/gws#noarchive"
|
||||
CHECKSUM_SHA256="1663ea0aaa592890f0bbb2a1e7d26cf02d4b47606b1d2e0e31262692cef2805d"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
gws = $portVersion
|
||||
cmd:gws
|
||||
"
|
||||
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:bash
|
||||
"
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
@@ -46,5 +55,5 @@ INSTALL()
|
||||
{
|
||||
mkdir $binDir
|
||||
cp gws $binDir
|
||||
chmd a+x $binDir/gws
|
||||
chmod a+x $binDir/gws
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user