Skip to content

Commit 4b49a22

Browse files
authored
Merge pull request #175 from techtonik/snapcraft
package as a snap
2 parents 6a78531 + 3d45996 commit 4b49a22

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,11 @@ branches:
3030
- develop
3131

3232
sudo: false
33+
34+
jobs:
35+
include:
36+
- stage: Pack snap
37+
env: EMPTY
38+
before_install: skip
39+
install: skip
40+
script: docker run -v $(pwd):$(pwd) -w $(pwd) snapcore/snapcraft snapcraft

snap/snapcraft.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# obligatory fields
2+
3+
name: gitless
4+
version: git
5+
summary: A simple version control system built on top of Git
6+
description: |
7+
Gitless is an experimental version control system built on top of Git.
8+
Many people complain that Git is hard to use. We think the problem lies
9+
deeper than the user interface, in the concepts underlying Git. Gitless
10+
is an experiment to see what happens if you put a simple veneer on an
11+
app that changes the underlying concepts. Because Gitless is implemented
12+
on top of Git (could be considered what Git pros call a "porcelain" of
13+
Git), you can always fall back on Git. And of course your coworkers you
14+
share a repo with need never know that you're not a Git aficionado.
15+
16+
grade: devel # 'stable' for stable/candidate upload
17+
confinement: devmode # 'strict' after right plugs and slots
18+
19+
# 'optional' fields
20+
21+
apps:
22+
gl:
23+
command: bin/gl
24+
25+
parts:
26+
libgit2:
27+
plugin: cmake
28+
source: https://github.com/libgit2/libgit2/archive/v0.27.0.tar.gz
29+
build-packages:
30+
- libssl-dev
31+
32+
gitless-cli:
33+
plugin: python
34+
source: .
35+
after: [libgit2]
36+
# need git until https://github.com/sdg-mit/gitless/issues/176
37+
stage-packages:
38+
- git
39+
build-packages:
40+
- git
41+

0 commit comments

Comments
 (0)