-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwsjcpp.with-docker-section.yml
More file actions
91 lines (81 loc) · 2.52 KB
/
Copy pathwsjcpp.with-docker-section.yml
File metadata and controls
91 lines (81 loc) · 2.52 KB
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
88
89
90
91
wsjcpp_version: v0.0.2
cmake_minimum_required: 3.0
cmake_cxx_standard: 11
name: wsjcpp
version: v0.0.1
description: C++ Source Package manager
issues: https://github.com/wsjcpp/wsjcpp/issues # TODO add validate
keywords:
- "c++"
- "sources"
required-libraries:
- pthread
required-pkg-config:
- CURL
dependencies:
- name: "wsjcpp-core"
version: "v0.0.4"
url: "https://github.com/wsjcpp/wsjcpp-core:master"
origin: "https://github.com/"
installation-dir: "./src.wsjcpp/wsjcpp_core"
- name: "wsjcpp-yaml"
version: "0.0.2"
url: "https://github.com/wsjcpp/wsjcpp-yaml:master"
origin: "https://github.com/"
installation-dir: "./src.wsjcpp/wsjcpp_yaml"
- name: "wsjcpp-arguments"
version: "v0.0.1"
url: "https://github.com/wsjcpp/wsjcpp-arguments:master"
origin: "https://github.com/"
installation-dir: "./src.wsjcpp/wsjcpp_arguments"
- name: "wsjcpp/wsjcpp-hashes"
version: "v0.0.1"
url: "https://github.com/wsjcpp/wsjcpp-hashes:master"
origin: "https://github.com/"
installation-dir: "./src.wsjcpp/wsjcpp_wsjcpp_hashes"
# build-dependencies:
repositories:
- type: main # TODO validator
url: "https://github.com/wsjcpp/wsjcpp" # TODO validator
authors:
- name: "Evgenii Sopov"
email: "mrseakg@gmail.com" # add validate email format
origins:
- address: "https://wsjcpp.org/wsjcpp-package-registry/"
type: package-registry
- address: "file:///usr/share/wsjcpp-package-registry"
type: local-file-system # must be in global ~/.wsjcpp/config.yml
distribution:
- source-file: "src/wsjcpp_package_manager.cpp"
target-file: "wsjcpp_package_manager.cpp"
type: "source-code" # TODO validator
- source-file: "src/wsjcpp_package_manager.h"
target-file: "wsjcpp_package_manager.h"
type: "source-code"
docker:
for-build:
install:
- "libcurl4-openssl-dev"
for-release:
install:
- "libcurl4"
release:
label-maintainer: "Evgenii Sopov <mrseakg@gmail.com>"
label-repository: "https://github.com/wsjcpp/wsjcpp"
dockerfile: "Dockerfile.wsjcpp"
copy-binary-file: wsjcpp # will be copied to /usr/bin
command: "wsjcpp start"
expose-ports:
- 80
- 443
unit-tests:
cases:
- name: "NormalizeUnitTestName"
description: "Test Normalize UnitTest Name"
- name: "generateFilenameForUnitTest"
description: "Test generate filename for UnitTest"
- name: "InitPackage"
description: "Test for init package"
enabled: "no"
- name: "ReadPackage"
description: "Test for read package"