~singpolyma/dhall-ruby

ref: b958e41b20a238798e611c516bc79c9f55ac93c1 dhall-ruby/Makefile -rw-r--r-- 502 bytes
b958e41bStephen Paul Weber Add grab-bag of useful utils onto expressions 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