Skip to content

Commit

Permalink
gherkin: Extract from Monorepo (#2120)
Browse files Browse the repository at this point in the history
The gherkin submodule has been extracted into its own repository at:

https://github.com/cucumber/gherkin
  • Loading branch information
mpkorstanje committed Nov 8, 2022
1 parent ec9a174 commit f52c863
Show file tree
Hide file tree
Showing 1,353 changed files with 1 addition and 174,916 deletions.
317 changes: 0 additions & 317 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,68 +108,6 @@ jobs:
paths:
- '*'

### Go

gherkin-go:
executor: docker-circleci-golang
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/go
command: |
cd gherkin/go
make
### JavaScript

gherkin-javascript-node-12:
executor: docker-circleci-node-12
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/javascript
command: |
sudo npm install --global npm@8
cd gherkin/javascript
make
gherkin-javascript-node-14:
executor: docker-circleci-node-14
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/javascript
command: |
sudo npm install --global npm@8
cd gherkin/javascript
make
gherkin-javascript-node-16:
executor: docker-circleci-node-16
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/javascript
command: |
sudo npm install --global npm@8
cd gherkin/javascript
make
gherkin-javascript-node-18:
executor: docker-circleci-node-18
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/javascript
command: |
cd gherkin/javascript
make
gherkin-utils-javascript:
executor: docker-circleci-node-14
steps:
Expand All @@ -194,71 +132,7 @@ jobs:
cd query/javascript
make
### Ruby

gherkin-ruby-23:
executor: docker-circleci-ruby-23
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/ruby
command: |
cd gherkin/ruby
make
gherkin-ruby-24:
executor: docker-circleci-ruby-24
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/ruby
command: |
cd gherkin/ruby
make
gherkin-ruby-25:
executor: docker-circleci-ruby-25
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/ruby
command: |
cd gherkin/ruby
make
gherkin-ruby-26:
executor: docker-circleci-ruby-26
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/ruby
command: |
cd gherkin/ruby
make
### Java

gherkin-java:
executor: docker-circleci-openjdk
steps:
- attach_workspace:
at: '~/cucumber'
- attach_workspace:
at: '~/.m2/repository'
- run:
name: gherkin/java
command: |
cd gherkin/java
make
- persist_to_workspace:
root: '~/.m2/repository'
paths:
- 'io/cucumber/gherkin'

gherkin-utils-java:
executor: docker-circleci-openjdk
steps:
Expand All @@ -271,114 +145,6 @@ jobs:
command: |
cd gherkin-utils/java
make
- persist_to_workspace:
root: '~/.m2/repository'
paths:
- 'io/cucumber/gherkin'

### .NET

gherkin-dotnet:
executor: docker-cucumber-build
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/dotnet
command: |
cd gherkin/dotnet
make
### Perl

gherkin-perl:
executor: docker-cucumber-build
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/perl
command: |
cd gherkin/perl
make
### Python

gherkin-python-2:
executor: docker-circleci-python
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/python
command: |
cd gherkin/python
make GHERKIN_PYTHON_VERSION=python2
gherkin-python-3:
executor: docker-circleci-python
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/python
command: |
cd gherkin/python
make
### C

gherkin-c:
executor: docker-cucumber-build
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/c
command: |
cd gherkin/c
make
### Elixir

# gherkin-elixir:
# executor: docker-cucumber-build
# steps:
# - attach_workspace:
# at: "~/cucumber"
# - run:
# name: gherkin/elixir
# command: |
# cd gherkin/elixir
# make

### PHP

gherkin-php:
executor: docker-cucumber-build
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/php
command: |
cd gherkin/php
composer config --unset repo.0
make
gherkin-php-bc:
executor: docker-cucumber-build
environment:
COMPOSER_FLAGS: --prefer-lowest
steps:
- attach_workspace:
at: '~/cucumber'
- run:
name: gherkin/php
command: |
cd gherkin/php
composer config --unset repo.0
make
###
### Workflows ###
Expand Down Expand Up @@ -411,97 +177,14 @@ workflows:
jobs:
- prepare-parallel

### Go

- gherkin-go:
requires:
- prepare-parallel

### JavaScript

- gherkin-javascript-node-12:
requires:
- prepare-parallel
- gherkin-javascript-node-14:
requires:
- prepare-parallel
- gherkin-javascript-node-16:
requires:
- prepare-parallel
- gherkin-javascript-node-18:
requires:
- prepare-parallel
- gherkin-utils-javascript:
requires:
- prepare-parallel
- query-javascript:
requires:
- prepare-parallel

### Ruby

- gherkin-ruby-23:
requires:
- prepare-parallel
- gherkin-ruby-24:
requires:
- prepare-parallel
- gherkin-ruby-25:
requires:
- prepare-parallel
- gherkin-ruby-26:
requires:
- prepare-parallel

### Java

- gherkin-java:
requires:
- prepare-parallel
- gherkin-utils-java:
requires:
- prepare-parallel

### .NET

- gherkin-dotnet:
requires:
- prepare-parallel

## Perl

- gherkin-perl:
requires:
- prepare-parallel

## Python

- gherkin-python-2:
requires:
- prepare-parallel

- gherkin-python-3:
requires:
- prepare-parallel

### C

- gherkin-c:
requires:
- prepare-parallel

### Elixir

# - gherkin-elixir:
# requires:
# - messages-elixir

### PHP

- gherkin-php:
requires:
- prepare-parallel

- gherkin-php-bc:
requires:
- prepare-parallel
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

4 changes: 0 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ First off - thank you for contributing to Cucumber!
This [monorepo](https://gomonorepo.org/) contains various components (libraries)
used by Cucumber, such as:

* The Gherkin parser
* The Cucumber Expressions engine
* The Tag Expressions parser
* The Cucumber Protocol messages
* ...and a few more bits and bobs.

Each top level directory is the name of a cucumber *package*, and each directory
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
SHELL := /usr/bin/env bash
BUILD_IMAGE ?= $(shell grep "image: cucumber/cucumber-build:" .circleci/config.yml | cut -c 16-)
PACKAGES ?= gherkin \
gherkin-utils \
PACKAGES ?= gherkin-utils \
query

default: .rsynced $(patsubst %,default-%,$(PACKAGES))
Expand Down
6 changes: 0 additions & 6 deletions gherkin/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion gherkin/.rsync

This file was deleted.

Loading

0 comments on commit f52c863

Please sign in to comment.