~singpolyma/dhall-ruby

ref: d79e79e33b434fb9dc21bbffcdc55662e6aeec7b dhall-ruby/Makefile -rw-r--r-- 502 bytes
d79e79e3Stephen Paul Weber Add as_dhall refinement 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.PHONY: lint test unit clean

lib/dhall/parser.citrus: dhall-lang/standard/dhall.abnf scripts/generate_citrus_parser.rb lib/dhall/parser.rb
	bundle exec ruby -E UTF-8 -Ilib scripts/generate_citrus_parser.rb < dhall-lang/standard/dhall.abnf > $@

lint:
	rubocop -D

test: lib/dhall/parser.citrus
	bundle exec ruby -E UTF-8 -Ilib test/test_suite.rb

unit: lib/dhall/parser.citrus
	bundle exec ruby -E UTF-8 -Ilib test/test_suite.rb -n'/unit|simple|failure|import/'

clean:
	$(RM) lib/dhall/parser.citrus