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
|
name: drepl
version: 0.2.1
summary: A REPL for D
description: |
The drepl, is a cross platform tool for run dlang code like a shell.
confinement: classic
base: core
grade: stable
apps:
drepl:
command: bin/drepl
parts:
drepl:
source: https://github.com/dlang-community/drepl.git
source-tag: v0.2.1
source-type: git
#probably it would be nice to replace it with a specific dub plugin.
plugin: dump
override-build : |
snapcraftctl build
/snap/bin/dub build -b release --compiler=/snap/bin/dmd --force
organize:
drepl: bin/drepl
stage:
- bin/drepl
build-snaps:
- dmd
- dub
phobos-shared:
plugin: nil
stage:
- lib32
- lib64
stage-snaps:
- dmd
|