Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Aug 27, 2018
1 parent b5ec2da commit f7e0bb0
Show file tree
Hide file tree
Showing 33 changed files with 1 addition and 1,419 deletions.
19 changes: 1 addition & 18 deletions Makefile
Expand Up @@ -6,8 +6,6 @@ BAD_FEATURE_FILES = $(shell find testdata/bad -name "*.feature")
ASTS = $(patsubst testdata/%.feature,acceptance/testdata/%.feature.ast.ndjson,$(GOOD_FEATURE_FILES))
PICKLES = $(patsubst testdata/%.feature,acceptance/testdata/%.feature.pickles.ndjson,$(GOOD_FEATURE_FILES))
SOURCES = $(patsubst testdata/%.feature,acceptance/testdata/%.feature.source.ndjson,$(GOOD_FEATURE_FILES))
PROTOBUFBINS = $(patsubst testdata/%.feature,testdata/%.feature.protobuf.bin,$(GOOD_FEATURE_FILES))
PROTOBUFS = $(patsubst testdata/%.feature,acceptance/testdata/%.feature.protobuf.bin.ndjson,$(GOOD_FEATURE_FILES))
ERRORS = $(patsubst testdata/%.feature,acceptance/testdata/%.feature.errors.ndjson,$(BAD_FEATURE_FILES))

.DELETE_ON_ERROR:
Expand All @@ -18,7 +16,7 @@ default: .compared
./scripts/s3-download gherkin-go $(LIBRARY_VERSION)
touch $@

.compared: $(PROTOBUFS) $(ASTS) $(PICKLES) $(ERRORS) $(SOURCES)
.compared: $(ASTS) $(PICKLES) $(ERRORS) $(SOURCES)
touch $@

# # Generate
Expand All @@ -31,21 +29,6 @@ acceptance/testdata/%.feature.ast.ndjson: testdata/%.feature testdata/%.feature.
bin/gherkin --no-source --no-pickles --json $< | jq --sort-keys --compact-output "." > $@
diff --unified <(jq "." $<.ast.ndjson) <(jq "." $@)

# # Generate - we only do this in the Java project, then rsync to others
# testdata/%.feature.protobuf.bin: testdata/%.feature
# mkdir -p `dirname $@`
# bin/gherkin --protobuf $< > $@

# # Generate
# acceptance/testdata/%.feature.protobuf.bin.ndjson: testdata/%.feature
# mkdir -p `dirname $@`
# cat $<.protobuf.bin | bin/gherkin | jq --sort-keys --compact-output "." > $<.protobuf.bin.ndjson

acceptance/testdata/%.feature.protobuf.bin.ndjson: testdata/%.feature.protobuf.bin
mkdir -p `dirname $@`
cat $< | bin/gherkin --json | jq --sort-keys --compact-output "." > $@
diff --unified <(jq "." $<.ndjson) <(jq "." $@)

# # Generate
# acceptance/testdata/%.feature.pickles.ndjson: testdata/%.feature
# mkdir -p `dirname $@`
Expand Down
23 changes: 0 additions & 23 deletions testdata/good/background.feature.protobuf.bin

This file was deleted.

118 changes: 0 additions & 118 deletions testdata/good/datatables.feature.protobuf.bin

This file was deleted.

105 changes: 0 additions & 105 deletions testdata/good/descriptions.feature.protobuf.bin

This file was deleted.

103 changes: 0 additions & 103 deletions testdata/good/docstrings.feature.protobuf.bin

This file was deleted.

0 comments on commit f7e0bb0

Please sign in to comment.