File: empty.project

package info (click to toggle)
foundry 1.1~beta-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,552 kB
  • sloc: ansic: 167,487; xml: 417; makefile: 21; sh: 19; javascript: 10
file content (68 lines) | stat: -rw-r--r-- 1,089 bytes parent folder | download | duplicates (2)
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
[Template]
Name=empty
Description=Create an empty project with Meson build system
Tags=Meson;

[Input name]
Type=text
Title=Project Name
Subtitle=The name for your project which should not contain spaces
Validate=^[-\\w0-9]+$

[Input license]
Type=license
Title=License

[Input language]
Type=language
Title=Language
Choices=c;cpp;cs;python3;js;rust;vala;fortran;objc;d;cuda;

[Input git]
Type=switch
Title=Version Control
Default=true


```{{name}}/meson.build
project('{{name}}',
{{if language.meson_id}}
        '{{language.meson_id}}',
{{end}}
          version: '0.1',
    meson_version: '>= 1.0.0',
  default_options: ['warning_level=2', 'werror=false'],
{{if license.id}}
          license: '{{license.id}}',
{{end}}
)
```

```{{name}}/README.md
# {{name}}
```

```{{name}}/LICENSE
{{license.text}}
```

```{{name}}/.foundry/.gitignore
tmp/
user/
cache/
```

```{{name}}/.foundry/project/settings.keyfile
[project]
build-system='meson'
default-license='{{license.id}}'
```

if git
{{name}}/.git/objects/
{{name}}/.git/refs/heads/

```{{name}}/.git/HEAD
ref: refs/heads/main
```
end