-
Notifications
You must be signed in to change notification settings - Fork 18
/
sandstorm-pkgdef.capnp
88 lines (72 loc) · 3.04 KB
/
sandstorm-pkgdef.capnp
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
@0x98140dc4d0f49d05;
using Spk = import "/sandstorm/package.capnp";
const pkgdef :Spk.PackageDefinition = (
id = "nqmcqs9spcdpmqyuxemf0tsgwn8awfvswc58wgk375g4u25xv6yh",
manifest = (
appTitle = (defaultText = "Hacker CMS"),
appVersion = 10,
appMarketingVersion = (defaultText = "2015-06-29"),
actions = [
( title = (defaultText = "New Hacker CMS Site"),
nounPhrase = (defaultText = "site"),
command = (
argv = ["/bin/ssjekyll", "-i"],
environ = [
(key = "PATH", value = "/usr/local/bin:/usr/bin:/bin"),
(key = "LD_LIBRARY_PATH", value = "/usr/local/lib:/usr/lib:/lib")])
)
],
continueCommand = (
argv = ["/bin/ssjekyll"],
environ = [
(key = "PATH", value = "/usr/local/bin:/usr/bin:/bin"),
(key = "LD_LIBRARY_PATH", value = "/usr/local/lib:/usr/lib:/lib")]),
metadata = (
icons = (
appGrid = (svg = embed "app-graphics/hackercms-128.svg"),
grain = (svg = embed "app-graphics/hackercms-24.svg"),
market = (svg = embed "app-graphics/hackercms-150.svg"),
),
codeUrl = "https://github.com/kentonv/ssjekyll",
license = (openSource = bsd2Clause),
categories = [webPublishing],
author = (
contactEmail = "kenton@sandstorm.io",
pgpSignature = embed "pgp-signature",
),
pgpKeyring = embed "pgp-keyring",
description = (defaultText = embed "description.md"),
shortDescription = (defaultText = "Markdown CMS"),
screenshots = [
(width = 448, height = 381, png = embed "app-graphics/screenshot.png")
],
),
),
sourceMap = (
searchPath = [
(sourcePath = "."),
(sourcePath = "empty-file", packagePath = "usr/bin/node"),
(sourcePath = "empty-file", packagePath = "usr/bin/nodejs"),
(sourcePath = "/", hidePaths = [ "home", "proc", "sys", "etc" ]),
(sourcePath = "/etc/python2.7", packagePath = "etc/python2.7"),
(sourcePath = "/etc/ld.so.cache", packagePath = "etc/ld.so.cache"),
(sourcePath = "/etc/localtime", packagePath = "etc/localtime"),
(sourcePath = "passwd", packagePath = "etc/passwd"),
(sourcePath = "/etc/nsswitch.conf", packagePath = "etc/nsswitch.conf"),
(sourcePath = "/var/lib/gems", packagePath = "usr/share/rubygems-integration")
# Rubygems annoyingly places gems under /var by default, which of course
# gets overridden by the Sandstorm mutable storage. Apparently Rubygems
# will also look under /usr/share/rubygems-integration (discovered by
# running `gem env`), so we map the gems there. (I'm not using the
# GEM_HOME env variable because it needs to include the Ruby version, so
# will make this definition file less robust.)
]
),
fileList = "sandstorm-files.list",
alwaysInclude = [
"client",
"usr/share/rubygems-integration/2.1.0/gems/pygments.rb-0.6.2/vendor/pygments-main/pygments"
# Force inclusion of syntax highlighters for all languages, without having
# tested them under `spk dev`.
]
);