licensed 3.2.3 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +51 -1
  3. data/Rakefile +5 -3
  4. data/docs/adding_a_new_source.md +32 -3
  5. data/docs/commands/README.md +1 -1
  6. data/docs/commands/status.md +14 -10
  7. data/docs/sources/cargo.md +19 -0
  8. data/docs/sources/yarn.md +5 -4
  9. data/lib/licensed/reporters/status_reporter.rb +1 -1
  10. data/lib/licensed/sources/cargo.rb +70 -0
  11. data/lib/licensed/sources/manifest.rb +17 -22
  12. data/lib/licensed/sources/npm.rb +17 -7
  13. data/lib/licensed/sources/nuget.rb +2 -2
  14. data/lib/licensed/sources/source.rb +22 -3
  15. data/lib/licensed/sources/yarn/berry.rb +85 -0
  16. data/lib/licensed/sources/yarn/v1.rb +152 -0
  17. data/lib/licensed/sources/yarn.rb +15 -130
  18. data/lib/licensed/sources.rb +1 -0
  19. data/lib/licensed/version.rb +1 -1
  20. data/licensed.gemspec +1 -1
  21. metadata +6 -32
  22. data/.github/dependabot.yml +0 -19
  23. data/.github/workflows/release.yml +0 -213
  24. data/.github/workflows/test.yml +0 -543
  25. data/.gitignore +0 -57
  26. data/.licensed.yml +0 -7
  27. data/.rubocop.yml +0 -8
  28. data/.ruby-version +0 -1
  29. data/docker/Dockerfile.build-linux +0 -15
  30. data/script/bootstrap +0 -6
  31. data/script/cibuild +0 -7
  32. data/script/console +0 -15
  33. data/script/package +0 -20
  34. data/script/packages/build +0 -95
  35. data/script/packages/linux +0 -57
  36. data/script/packages/mac +0 -41
  37. data/script/setup +0 -5
  38. data/script/source-setup/bower +0 -17
  39. data/script/source-setup/bundler +0 -20
  40. data/script/source-setup/cabal +0 -19
  41. data/script/source-setup/composer +0 -38
  42. data/script/source-setup/git_submodule +0 -39
  43. data/script/source-setup/go +0 -31
  44. data/script/source-setup/mix +0 -19
  45. data/script/source-setup/npm +0 -34
  46. data/script/source-setup/nuget +0 -17
  47. data/script/source-setup/pip +0 -29
  48. data/script/source-setup/pipenv +0 -21
  49. data/script/source-setup/swift +0 -22
  50. data/script/source-setup/yarn +0 -17
  51. data/script/test +0 -16
@@ -1,543 +0,0 @@
1
- name: Test
2
-
3
- on: pull_request
4
-
5
- jobs:
6
- bower:
7
- runs-on: ubuntu-latest
8
- needs: core
9
- steps:
10
- - uses: actions/checkout@v2
11
- - name: Setup node
12
- uses: actions/setup-node@v2
13
- with:
14
- node-version: 8
15
- - name: Install Bower
16
- run: npm install -g bower
17
- - name: Set up Ruby
18
- uses: ruby/setup-ruby@v1
19
- with:
20
- ruby-version: 2.6
21
- - run: bundle lock
22
- - uses: actions/cache@v2
23
- name: cache gem dependencies
24
- with:
25
- path: vendor/gems
26
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
27
- restore-keys: |
28
- ${{ runner.os }}-gem-2.6-
29
- - name: Bootstrap
30
- run: script/bootstrap
31
- - name: Set up fixtures
32
- run: script/source-setup/bower
33
- - name: Run tests
34
- run: script/test bower
35
-
36
- bundler:
37
- runs-on: ubuntu-latest
38
- needs: core
39
- strategy:
40
- matrix:
41
- bundler: [ '~> 1.17.0', '~> 2.0.0', '~> 2.1.0', '~> 2.2.0' ]
42
- steps:
43
- - uses: actions/checkout@v2
44
- - name: Set up Ruby
45
- uses: ruby/setup-ruby@v1
46
- with:
47
- ruby-version: 2.6
48
- - name: Set up Bundler
49
- run: |
50
- yes | gem uninstall bundler --all
51
- gem install bundler -v "${{ matrix.bundler }}"
52
- - run: bundle lock
53
- - uses: actions/cache@v2
54
- name: cache gem dependencies
55
- with:
56
- path: vendor/gems
57
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
58
- restore-keys: |
59
- ${{ runner.os }}-gem-2.6-
60
- - name: Bootstrap
61
- run: script/bootstrap
62
- - name: Set up fixtures
63
- run: script/source-setup/bundler
64
- - name: Run tests
65
- run: script/test bundler
66
-
67
- cabal:
68
- runs-on: ubuntu-latest
69
- needs: core
70
- strategy:
71
- matrix:
72
- ghc: [ '8.6', '8.8', '8.10', '9.0' ]
73
- cabal: [ '3.0', '3.2', '3.4' ]
74
- steps:
75
- - uses: actions/checkout@v2
76
- - name: Set up Ruby
77
- uses: ruby/setup-ruby@v1
78
- with:
79
- ruby-version: 2.6
80
- - name: Setup Haskell
81
- uses: haskell/actions/setup@v1
82
- with:
83
- ghc-version: ${{ matrix.ghc }}
84
- cabal-version: ${{ matrix.cabal }}
85
- - run: bundle lock
86
- - name: cache cabal dependencies
87
- uses: actions/cache@v2
88
- with:
89
- path: |
90
- ~/.cabal/packages
91
- ~/.cabal/store
92
- key: ${{ runner.os }}-cabal-${{ matrix.ghc }}-${{ hashFiles('**/app.cabal') }}
93
- restore-keys: |
94
- ${{ runner.os }}-cabal-
95
- - uses: actions/cache@v2
96
- name: cache gem dependencies
97
- with:
98
- path: vendor/gems
99
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
100
- restore-keys: |
101
- ${{ runner.os }}-gem-2.6-
102
- - name: Bootstrap
103
- run: script/bootstrap
104
- - name: Set up fixtures
105
- run: script/source-setup/cabal
106
- - name: Run tests
107
- run: script/test cabal
108
-
109
- composer:
110
- runs-on: ubuntu-latest
111
- needs: core
112
- strategy:
113
- matrix:
114
- php: [ '7.4', '8.0' ]
115
- steps:
116
- - uses: actions/checkout@v2
117
- - name: Setup php
118
- uses: nanasess/setup-php@v3.0.8
119
- with:
120
- php-version: ${{ matrix.php }}
121
- - name: Set up Ruby
122
- uses: ruby/setup-ruby@v1
123
- with:
124
- ruby-version: 2.6
125
- - run: bundle lock
126
- - uses: actions/cache@v2
127
- name: cache gem dependencies
128
- with:
129
- path: vendor/gems
130
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
131
- restore-keys: |
132
- ${{ runner.os }}-gem-2.6-
133
- - name: Bootstrap
134
- run: script/bootstrap
135
- - name: Set up fixtures
136
- run: script/source-setup/composer
137
- - name: Run tests
138
- run: script/test composer
139
-
140
- core:
141
- runs-on: ubuntu-latest
142
- strategy:
143
- matrix:
144
- ruby: [ 2.6, 2.7, 3.0 ]
145
- steps:
146
- - uses: actions/checkout@v2
147
- - name: Set up Ruby
148
- uses: ruby/setup-ruby@v1
149
- with:
150
- ruby-version: ${{matrix.ruby}}
151
- - name: Set up Bundler
152
- run: gem install bundler
153
- - run: bundle lock
154
- - uses: actions/cache@v2
155
- name: cache gem dependencies
156
- with:
157
- path: vendor/gems
158
- key: ${{ runner.os }}-gem-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }}
159
- restore-keys: |
160
- ${{ runner.os }}-gem-${{ matrix.ruby }}-
161
- - name: Bootstrap
162
- run: script/bootstrap
163
- - name: Build and lint
164
- run: bundle exec rake rubocop build
165
- - name: Core functionality tests
166
- run: script/test core
167
-
168
- dep:
169
- runs-on: ubuntu-latest
170
- needs: core
171
- steps:
172
- - uses: actions/checkout@v2
173
- - name: Setup go
174
- uses: actions/setup-go@v2
175
- with:
176
- go-version: 1.10.x
177
- - name: Set up Ruby
178
- uses: ruby/setup-ruby@v1
179
- with:
180
- ruby-version: 2.6
181
- - run: bundle lock
182
- - uses: actions/cache@v2
183
- name: cache gem dependencies
184
- with:
185
- path: vendor/gems
186
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
187
- restore-keys: |
188
- ${{ runner.os }}-gem-2.6-
189
- - name: Bootstrap
190
- run: script/bootstrap
191
- - name: Set up fixtures
192
- run: script/source-setup/go
193
- - name: Run tests
194
- run: script/test dep
195
-
196
- go:
197
- runs-on: ubuntu-latest
198
- needs: core
199
- strategy:
200
- matrix:
201
- go: [ '1.12.x', '1.13.x', '1.14.x', '1.15.x', '1.16.x' ]
202
- steps:
203
- - uses: actions/checkout@v2
204
- - name: Setup go
205
- uses: actions/setup-go@v2
206
- with:
207
- go-version: ${{ matrix.go }}
208
- - name: Set up Ruby
209
- uses: ruby/setup-ruby@v1
210
- with:
211
- ruby-version: 2.6
212
- - run: bundle lock
213
- - uses: actions/cache@v2
214
- name: cache go dependencies
215
- with:
216
- path: |
217
- ~/.cache/go-build
218
- ~/go/pkg/mod
219
- key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
220
- restore-keys: |
221
- ${{ runner.os }}-go-
222
- - uses: actions/cache@v2
223
- name: cache gem dependencies
224
- with:
225
- path: vendor/gems
226
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
227
- restore-keys: |
228
- ${{ runner.os }}-gem-2.6-
229
- - name: Bootstrap
230
- run: script/bootstrap
231
- - name: Set up fixtures
232
- run: script/source-setup/go
233
- - name: Run tests
234
- run: script/test go
235
- env:
236
- GO111MODULE: "on"
237
-
238
- gradle:
239
- runs-on: ubuntu-latest
240
- needs: core
241
- strategy:
242
- matrix:
243
- # TODO: the reporting plugin used to gather data is not yet fully compatible with
244
- # gradle 7, which is needed for compatibility with Java 16. after compatibility issues
245
- # are resolved, update this matrix list with '16'.
246
- # possibly fixed by https://github.com/jk1/Gradle-License-Report/pull/166
247
- java: [ '11' ]
248
- steps:
249
- - uses: actions/checkout@v2
250
- - name: Set up Ruby
251
- uses: ruby/setup-ruby@v1
252
- with:
253
- ruby-version: 2.6
254
- - run: bundle lock
255
- - name: Set up Java
256
- uses: actions/setup-java@v2
257
- with:
258
- java-version: ${{ matrix.java }}
259
- distribution: adopt
260
- - uses: actions/cache@v2
261
- name: cache gradle dependencies
262
- with:
263
- path: |
264
- ~/.gradle/caches
265
- ~/.gradle/wrapper
266
- key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
267
- restore-keys: |
268
- ${{ runner.os }}-gradle-
269
- - uses: actions/cache@v2
270
- name: cache gem dependencies
271
- with:
272
- path: vendor/gems
273
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
274
- restore-keys: |
275
- ${{ runner.os }}-gem-2.6-
276
- - name: Bootstrap
277
- run: script/bootstrap
278
- - name: Gradle version
279
- run: test/fixtures/gradle/gradlew --quiet --version
280
- - name: Run tests
281
- run: script/test gradle
282
-
283
- manifest:
284
- runs-on: ubuntu-latest
285
- needs: core
286
- steps:
287
- - uses: actions/checkout@v2
288
- - name: Set up Ruby
289
- uses: ruby/setup-ruby@v1
290
- with:
291
- ruby-version: 2.6
292
- - run: bundle lock
293
- - uses: actions/cache@v2
294
- name: cache gem dependencies
295
- with:
296
- path: vendor/gems
297
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
298
- restore-keys: |
299
- ${{ runner.os }}-gem-2.6-
300
- - name: Bootstrap
301
- run: script/bootstrap
302
- - name: Run tests
303
- run: script/test manifest
304
-
305
- mix:
306
- runs-on: ubuntu-latest
307
- needs: core
308
- strategy:
309
- matrix:
310
- otp: [22.x, 23.x, 24.x]
311
- elixir: [ 1.11.x, 1.12.x ]
312
- steps:
313
- - uses: actions/checkout@v2
314
- - uses: erlef/setup-elixir@v1.9
315
- with:
316
- otp-version: ${{matrix.otp}}
317
- elixir-version: ${{matrix.elixir}}
318
- - name: Set up Ruby
319
- uses: ruby/setup-ruby@v1
320
- with:
321
- ruby-version: 2.6
322
- - run: bundle lock
323
- - uses: actions/cache@v2
324
- name: cache gem dependencies
325
- with:
326
- path: vendor/gems
327
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
328
- restore-keys: |
329
- ${{ runner.os }}-gem-2.6-
330
- - name: Bootstrap
331
- run: script/bootstrap
332
- - name: Set up fixtures
333
- run: script/source-setup/mix
334
- - name: Run tests
335
- run: script/test mix
336
-
337
- npm:
338
- runs-on: ubuntu-latest
339
- needs: core
340
- strategy:
341
- matrix:
342
- node_version: [ 12, 14, 16 ]
343
- steps:
344
- - uses: actions/checkout@v2
345
- - name: Setup node
346
- uses: actions/setup-node@v2
347
- with:
348
- node-version: ${{ matrix.node_version }}
349
- - name: Set up Ruby
350
- uses: ruby/setup-ruby@v1
351
- with:
352
- ruby-version: 2.6
353
- - run: bundle lock
354
- - uses: actions/cache@v2
355
- name: cache gem dependencies
356
- with:
357
- path: vendor/gems
358
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
359
- restore-keys: |
360
- ${{ runner.os }}-gem-2.6-
361
- - name: Bootstrap
362
- run: script/bootstrap
363
- - name: Set up fixtures
364
- run: script/source-setup/npm
365
- - name: Run tests
366
- run: script/test npm
367
-
368
- nuget:
369
- runs-on: ubuntu-latest
370
- needs: core
371
- strategy:
372
- matrix:
373
- dotnet: [ '3.1.x', '5.x' ]
374
- steps:
375
- - uses: actions/checkout@v2
376
- - name: Setup dotnet
377
- uses: actions/setup-dotnet@v1
378
- with:
379
- dotnet-version: ${{ matrix.dotnet }}
380
- - name: Set up Ruby
381
- uses: ruby/setup-ruby@v1
382
- with:
383
- ruby-version: 2.6
384
- - run: bundle lock
385
- - uses: actions/cache@v2
386
- name: cache gem dependencies
387
- with:
388
- path: vendor/gems
389
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
390
- restore-keys: |
391
- ${{ runner.os }}-gem-2.6-
392
- - name: Bootstrap
393
- run: script/bootstrap
394
- - name: Set up fixtures
395
- run: script/source-setup/nuget
396
- - name: Run tests
397
- run: script/test nuget
398
-
399
- pip:
400
- runs-on: ubuntu-latest
401
- needs: core
402
- strategy:
403
- matrix:
404
- python: [ '3.6', '3.7', '3.8', '3.9' ]
405
- steps:
406
- - uses: actions/checkout@v2
407
- - name: Setup python
408
- uses: actions/setup-python@v2
409
- with:
410
- python-version: ${{ matrix.python }}
411
- architecture: x64
412
- - name: Set up Ruby
413
- uses: ruby/setup-ruby@v1
414
- with:
415
- ruby-version: 2.6
416
- - run: bundle lock
417
- - uses: actions/cache@v2
418
- name: cache pip dependencies
419
- with:
420
- path: ~/.cache/pip
421
- key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
422
- restore-keys: |
423
- ${{ runner.os }}-pip-
424
- - uses: actions/cache@v2
425
- name: cache gem dependencies
426
- with:
427
- path: vendor/gems
428
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
429
- restore-keys: |
430
- ${{ runner.os }}-gem-2.6-
431
- - name: Bootstrap
432
- run: script/bootstrap
433
- - name: Install virtualenv
434
- run: pip install virtualenv
435
- - name: Set up fixtures
436
- run: script/source-setup/pip
437
- - name: Run tests
438
- run: script/test pip
439
-
440
- pipenv:
441
- runs-on: ubuntu-latest
442
- needs: core
443
- steps:
444
- - uses: actions/checkout@v2
445
- - name: Setup python
446
- uses: actions/setup-python@v2
447
- with:
448
- python-version: '3.x'
449
- architecture: x64
450
- - name: Set up Ruby
451
- uses: ruby/setup-ruby@v1
452
- with:
453
- ruby-version: 2.6
454
- - run: bundle lock
455
- - uses: actions/cache@v2
456
- name: cache gem dependencies
457
- with:
458
- path: vendor/gems
459
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
460
- restore-keys: |
461
- ${{ runner.os }}-gem-2.6-
462
- - name: Bootstrap
463
- run: script/bootstrap
464
- - name: Install pipenv
465
- run: pip install pipenv
466
- - name: Set up fixtures
467
- run: script/source-setup/pipenv
468
- - name: Run tests
469
- run: script/test pipenv
470
-
471
- swift:
472
- runs-on: ubuntu-latest
473
- needs: core
474
- strategy:
475
- matrix:
476
- swift: [ "5.4", "5.3" ]
477
- steps:
478
- - uses: actions/checkout@v2
479
- - name: Setup Swift
480
- uses: fwal/setup-swift@v1
481
- with:
482
- swift-version: ${{ matrix.swift }}
483
- - name: Set up Ruby
484
- uses: ruby/setup-ruby@v1
485
- with:
486
- ruby-version: 2.6
487
- - run: bundle lock
488
- - uses: actions/cache@v2
489
- name: cache spm dependencies
490
- with:
491
- path: .build
492
- key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
493
- restore-keys: |
494
- ${{ runner.os }}-spm-
495
- - uses: actions/cache@v2
496
- name: cache gem dependencies
497
- with:
498
- path: vendor/gems
499
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
500
- restore-keys: |
501
- ${{ runner.os }}-gem-2.6-
502
- - name: Bootstrap
503
- run: script/bootstrap
504
- - name: Set up fixtures
505
- run: script/source-setup/swift
506
- - name: Run tests
507
- run: script/test swift
508
-
509
- yarn:
510
- runs-on: ubuntu-latest
511
- needs: core
512
- strategy:
513
- matrix:
514
- # not using 1.0.0 because it doesn't support `yarn list --production`
515
- yarn_version: [ 1.4.0, latest ]
516
- steps:
517
- - uses: actions/checkout@v2
518
- - name: Setup node
519
- uses: actions/setup-node@v2
520
- with:
521
- node-version: 12
522
- - name: Install Yarn
523
- run: npm install -g yarn@${YARN_VERSION}
524
- env:
525
- YARN_VERSION: ${{ matrix.yarn_version }}
526
- - name: Set up Ruby
527
- uses: ruby/setup-ruby@v1
528
- with:
529
- ruby-version: 2.6
530
- - run: bundle lock
531
- - uses: actions/cache@v2
532
- name: cache gem dependencies
533
- with:
534
- path: vendor/gems
535
- key: ${{ runner.os }}-gem-2.6-${{ hashFiles('**/Gemfile.lock') }}
536
- restore-keys: |
537
- ${{ runner.os }}-gem-2.6-
538
- - name: Bootstrap
539
- run: script/bootstrap
540
- - name: Set up fixtures
541
- run: script/source-setup/yarn
542
- - name: Run tests
543
- run: script/test yarn
data/.gitignore DELETED
@@ -1,57 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
-
11
- # test fixtures
12
- test/fixtures/bundler/.bundle/
13
- test/fixtures/bundler/vendor/
14
- test/fixtures/bundler/Gemfile.lock
15
-
16
- test/fixtures/bower/bower_components
17
-
18
- test/fixtures/npm/node_modules
19
- test/fixtures/npm/package-lock.json
20
- test/fixtures/npm/package.json
21
-
22
- test/fixtures/go/src/*
23
- test/fixtures/go/pkg
24
- !test/fixtures/go/src/test
25
- !test/fixtures/go/src/modules_test
26
-
27
- test/fixtures/cabal/*
28
- !test/fixtures/cabal/app*
29
-
30
- test/fixtures/git_submodule/*
31
- !test/fixtures/git_submodule/README
32
-
33
- test/fixtures/pip/venv
34
-
35
- test/fixtures/pipenv/Pipfile.lock
36
-
37
- !test/fixtures/migrations/**/*
38
-
39
- test/fixtures/composer/**/*
40
- !test/fixtures/composer/composer.json
41
-
42
- test/fixtures/mix/_build
43
- test/fixtures/mix/deps
44
- test/fixtures/mix/mix.lock
45
-
46
- test/fixtures/yarn/*
47
- !test/fixtures/yarn/package.json
48
-
49
- test/fixtures/nuget/obj/*
50
-
51
- vendor/licenses
52
- .licenses
53
- *.gem
54
- vendor/gems
55
- .byebug_history
56
-
57
- bin/
data/.licensed.yml DELETED
@@ -1,7 +0,0 @@
1
- allowed:
2
- - mit
3
- - apache-2.0
4
-
5
- reviewed:
6
- bundler:
7
- - pathname-common_prefix
data/.rubocop.yml DELETED
@@ -1,8 +0,0 @@
1
- inherit_gem:
2
- rubocop-github:
3
- - config/default.yml
4
-
5
- AllCops:
6
- Exclude:
7
- - test/fixtures/**/*
8
- - vendor/gems/**/*
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.7.4
@@ -1,15 +0,0 @@
1
- FROM ruby:2.6.8-slim-stretch
2
-
3
- RUN apt-get update \
4
- && apt-get install -y --no-install-recommends cmake make gcc pkg-config squashfs-tools git curl bison rsync \
5
- && rm -rf /var/lib/apt/lists/*
6
-
7
- RUN curl -L https://github.com/kontena/ruby-packer/releases/download/2.6.0-0.6.0/rubyc-2.6.0-0.6.0-linux-amd64.gz | gunzip > /usr/local/bin/rubyc \
8
- && chmod +x /usr/local/bin/rubyc
9
-
10
- RUN gem update --system && gem update bundler
11
-
12
- ENV CPPFLAGS="-P"
13
- ENV RUBYC="/usr/local/bin/rubyc"
14
- ENV LANG=C.UTF-8
15
- ENV SSL_CERT_DIR="/etc/ssl/certs"
data/script/bootstrap DELETED
@@ -1,6 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle config set path 'vendor/gems'
6
- bundle install
data/script/cibuild DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/sh
2
-
3
- set -e
4
-
5
- bundle exec rake test
6
- bundle exec rubocop -S -D
7
- gem build licensed.gemspec
data/script/console DELETED
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require "bundler/setup"
5
- require "licensed"
6
-
7
- # You can add fixtures and/or initialization code here to make experimenting
8
- # with your gem easier. You can also use a different console, if you like.
9
-
10
- # (If you use this, don't forget to add pry to your Gemfile!)
11
- # require "pry"
12
- # Pry.start
13
-
14
- require "irb"
15
- IRB.start
data/script/package DELETED
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- #/ Usage: script/package [PLATFORM] [VERSION]
3
- #/
4
- #/ Builds distributable packages for licensed.
5
- #/ Packages are of the form licensed-$VERSION-$PLATFORM-x64.tar.gz and contain a `./licensed` executable
6
- #/ Built packages are placed in the <root>/pkg directory.
7
- #/
8
- #/ OPTIONS:
9
- #/ [PLATFORM] (optional, default to all platforms) platform to build exe for
10
- #/ [VERSION] (optional, default to current git branch or SHA1) version of licensed to build exe at
11
- #/
12
-
13
- set -e
14
-
15
- PLATFORM=""
16
- if [ -n "$1" ]; then
17
- PLATFORM=":$1"
18
- fi
19
-
20
- bundle exec rake "package$PLATFORM"