Skip to content

Commit

Permalink
Merge branch 'master' into update-perl
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuelsmann authored Jan 5, 2021
2 parents a0674fe + 114ece6 commit f83b3b0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion datatable/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>3.6.28</version>
<version>3.7.0</version>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 2 additions & 0 deletions gherkin/perl/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
acceptance/
local/
.build/
.built
.cpanfile_dependencies
cpanfile.snapshot
.compared
Gherkin-*
10 changes: 5 additions & 5 deletions gherkin/perl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ default: .compared
touch $@

.cpanfile_dependencies:
cpanm --installdeps --notest .
carton install
touch $@

.built: .cpanfile_dependencies lib/Gherkin/Generated/Parser.pm lib/Gherkin/Generated/Languages.pm $(PERL_FILES) bin/gherkin-generate-tokens bin/gherkin-generate-ast LICENSE.txt
Expand All @@ -33,22 +33,22 @@ show-version-info:

acceptance/testdata/%.feature.tokens: testdata/%.feature testdata/%.feature.tokens .built
mkdir -p $(@D)
bin/gherkin-generate-tokens $< > $@
carton exec bin/gherkin-generate-tokens $< > $@
diff --unified $<.tokens $@

acceptance/testdata/%.feature.ast.ndjson: testdata/%.feature testdata/%.feature.ast.ndjson .built
mkdir -p $(@D)
bin/gherkin-generate-ast $< > $@
carton exec bin/gherkin-generate-ast $< > $@
diff --unified <(jq "." $<.ast.ndjson) <(jq "." $@)

acceptance/testdata/%.feature.pickles.ndjson: testdata/%.feature testdata/%.feature.pickles.ndjson .built
mkdir -p $(@D)
bin/gherkin-generate-pickles $< > $@
carton exec bin/gherkin-generate-pickles $< > $@
diff --unified <(jq "." $<.pickles.ndjson) <(jq "." $@)

acceptance/testdata/%.feature.errors.ndjson: testdata/%.feature testdata/%.feature.errors.ndjson .built
mkdir -p $(@D)
bin/gherkin-generate-ast $< > $@
carton exec bin/gherkin-generate-ast $< > $@
diff --unified <(jq "." $<.errors.ndjson) <(jq "." $@)

# Get to a point where dzil can be run
Expand Down

0 comments on commit f83b3b0

Please sign in to comment.