xezat 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +45 -0
- data/.gitignore +2 -3
- data/.rubocop.yml +5 -2
- data/.ruby-version +1 -1
- data/README.md +1 -1
- data/lib/xezat/command/bump/compiler.rb +5 -5
- data/lib/xezat/command/bump/cygport_dep.rb +2 -2
- data/lib/xezat/command/bump/development_package.rb +29 -4
- data/lib/xezat/command/bump/language.rb +8 -4
- data/lib/xezat/command/bump/runtime_package.rb +2 -1
- data/lib/xezat/command/bump.rb +6 -7
- data/lib/xezat/command/generate.rb +2 -1
- data/lib/xezat/command/init.rb +2 -2
- data/lib/xezat/command/port.rb +7 -9
- data/lib/xezat/command/validate/config.rb +40 -0
- data/lib/xezat/command/validate/license.rb +30 -0
- data/lib/xezat/command/validate/pkgconfig.rb +37 -0
- data/lib/xezat/command/validate.rb +20 -25
- data/lib/xezat/config.rb +1 -2
- data/lib/xezat/cygchangelog.rb +2 -2
- data/lib/xezat/cygversion.rb +2 -0
- data/lib/xezat/debugger/linguist.rb +0 -1
- data/lib/xezat/debugger/variable.rb +0 -1
- data/lib/xezat/detector/autoconf.rb +18 -0
- data/lib/xezat/detector/automake.rb +18 -0
- data/lib/xezat/detector/cmake.rb +1 -4
- data/lib/xezat/detector/{python38-docutils.rb → python39-docutils.rb} +1 -1
- data/lib/xezat/detectors.rb +1 -1
- data/lib/xezat/generator/pkgconfig.rb +32 -10
- data/lib/xezat/variables.rb +19 -4
- data/lib/xezat/version.rb +1 -1
- data/share/xezat/compilers.yaml +44 -0
- data/share/xezat/languages.yaml +11 -0
- data/share/xezat/repository/bitbucket.yaml +4 -0
- data/share/xezat/repository/github.yaml +4 -0
- data/share/xezat/repository/gnu.yaml +3 -0
- data/share/xezat/repository/savannah.yaml +3 -0
- data/share/xezat/repository/sourceforge.yaml +5 -0
- data/share/xezat/template/cmake.erb +6 -8
- data/share/xezat/template/cygport.erb +4 -0
- data/share/xezat/{show_cygport_variable.sh → var2yaml.sh} +3 -2
- data/xezat.gemspec +11 -11
- metadata +54 -51
- data/.circleci/config.yml +0 -110
- data/share/xezat/compilers.json +0 -67
- data/share/xezat/languages.json +0 -12
- data/share/xezat/repository/bitbucket.json +0 -5
- data/share/xezat/repository/github.json +0 -5
- data/share/xezat/repository/gnu.json +0 -4
- data/share/xezat/repository/savannah.json +0 -4
- data/share/xezat/repository/sourceforge.json +0 -6
- /data/share/xezat/{invoke_cygport_dep.sh → cygport_dep.sh} +0 -0
data/.circleci/config.yml
DELETED
@@ -1,110 +0,0 @@
|
|
1
|
-
version: 2.1
|
2
|
-
orbs:
|
3
|
-
ruby: circleci/ruby@1.4.0
|
4
|
-
jobs:
|
5
|
-
test:
|
6
|
-
docker:
|
7
|
-
- image: cimg/ruby:2.6
|
8
|
-
|
9
|
-
working_directory: ~/repo
|
10
|
-
|
11
|
-
steps:
|
12
|
-
- checkout
|
13
|
-
|
14
|
-
- run:
|
15
|
-
name: Init & update submodule
|
16
|
-
command: |
|
17
|
-
git submodule init
|
18
|
-
git submodule update
|
19
|
-
git submodule foreach git pull origin master
|
20
|
-
|
21
|
-
# Download and cache dependencies
|
22
|
-
- restore_cache:
|
23
|
-
keys:
|
24
|
-
- v2-dependencies-{{ .Branch }}
|
25
|
-
# fallback to using the latest cache if no exact match is found
|
26
|
-
#- v1-dependencies-
|
27
|
-
|
28
|
-
- run:
|
29
|
-
name: Show ruby version
|
30
|
-
command: |
|
31
|
-
ruby -v
|
32
|
-
|
33
|
-
- run:
|
34
|
-
name: Install native libraries
|
35
|
-
command: |
|
36
|
-
sudo apt-get install cmake libicu-dev
|
37
|
-
|
38
|
-
- run:
|
39
|
-
name: Install dependencies
|
40
|
-
command: |
|
41
|
-
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
42
|
-
|
43
|
-
- save_cache:
|
44
|
-
paths:
|
45
|
-
- ./vendor/bundle
|
46
|
-
key: v2-dependencies-{{ .Branch }}
|
47
|
-
|
48
|
-
# Rubocop
|
49
|
-
- run:
|
50
|
-
name: Rubocop
|
51
|
-
command: |
|
52
|
-
bundle exec rubocop -D -c .rubocop.yml --format simple
|
53
|
-
|
54
|
-
# Fasterer
|
55
|
-
- run:
|
56
|
-
name: Fasterer
|
57
|
-
command: |
|
58
|
-
bundle exec fasterer
|
59
|
-
|
60
|
-
# Run tests
|
61
|
-
- run:
|
62
|
-
name: Run tests
|
63
|
-
command: |
|
64
|
-
mkdir /tmp/test-results
|
65
|
-
bundle exec rspec --no-color \
|
66
|
-
--format progress \
|
67
|
-
--format RspecJunitFormatter \
|
68
|
-
--out /tmp/test-results/rspec.xml
|
69
|
-
|
70
|
-
# Collect reports
|
71
|
-
- store_test_results:
|
72
|
-
path: /tmp/test-results
|
73
|
-
- store_artifacts:
|
74
|
-
path: ~/repo/coverage
|
75
|
-
destination: coverage
|
76
|
-
|
77
|
-
deploy:
|
78
|
-
docker:
|
79
|
-
- image: cimg/ruby:2.6
|
80
|
-
steps:
|
81
|
-
- checkout
|
82
|
-
- run:
|
83
|
-
name: Install native libraries
|
84
|
-
command: |
|
85
|
-
sudo apt-get install cmake libicu-dev
|
86
|
-
|
87
|
-
- run:
|
88
|
-
name: Install dependencies
|
89
|
-
command: |
|
90
|
-
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
91
|
-
|
92
|
-
- run:
|
93
|
-
name: Publish gem to Rubygems
|
94
|
-
command: bundle exec rake release
|
95
|
-
|
96
|
-
workflows:
|
97
|
-
test:
|
98
|
-
jobs:
|
99
|
-
- test:
|
100
|
-
filters:
|
101
|
-
tags:
|
102
|
-
only: /.*/
|
103
|
-
- deploy:
|
104
|
-
requires:
|
105
|
-
- test
|
106
|
-
filters:
|
107
|
-
tags:
|
108
|
-
only: /^v.*/
|
109
|
-
branches:
|
110
|
-
ignore: /.*/
|
data/share/xezat/compilers.json
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"Bison": {
|
3
|
-
"package": "bison"
|
4
|
-
},
|
5
|
-
"C": {
|
6
|
-
"package": "gcc-core",
|
7
|
-
"dependencies": [
|
8
|
-
"binutils"
|
9
|
-
]
|
10
|
-
},
|
11
|
-
"C++": {
|
12
|
-
"package": "gcc-g++",
|
13
|
-
"dependencies": [
|
14
|
-
"binutils",
|
15
|
-
"gcc-core"
|
16
|
-
]
|
17
|
-
},
|
18
|
-
"Fortran": {
|
19
|
-
"package": "gcc-fortran",
|
20
|
-
"dependencies": [
|
21
|
-
"binutils",
|
22
|
-
"gcc-core"
|
23
|
-
]
|
24
|
-
},
|
25
|
-
"Fortran Free Form": {
|
26
|
-
"package": "gcc-fortran",
|
27
|
-
"dependencies": [
|
28
|
-
"binutils",
|
29
|
-
"gcc-core"
|
30
|
-
]
|
31
|
-
},
|
32
|
-
"Lex": {
|
33
|
-
"package": "flex"
|
34
|
-
},
|
35
|
-
"Lua": {
|
36
|
-
"package": "lua"
|
37
|
-
},
|
38
|
-
"Objective-C": {
|
39
|
-
"package": "gcc-objc",
|
40
|
-
"dependencies": [
|
41
|
-
"binutils",
|
42
|
-
"gcc-core"
|
43
|
-
]
|
44
|
-
},
|
45
|
-
"Objective-C++": {
|
46
|
-
"package": "gcc-objc++",
|
47
|
-
"dependencies": [
|
48
|
-
"binutils",
|
49
|
-
"gcc-core"
|
50
|
-
]
|
51
|
-
},
|
52
|
-
"Protocol Buffer": {
|
53
|
-
"package": "libprotobuf-devel"
|
54
|
-
},
|
55
|
-
"Ragel": {
|
56
|
-
"package": "ragel"
|
57
|
-
},
|
58
|
-
"Ruby": {
|
59
|
-
"package": "ruby"
|
60
|
-
},
|
61
|
-
"Vala": {
|
62
|
-
"package": "vala"
|
63
|
-
},
|
64
|
-
"Yacc": {
|
65
|
-
"package": "bison"
|
66
|
-
}
|
67
|
-
}
|
data/share/xezat/languages.json
DELETED
File without changes
|