Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set full path of the ragel source file to rake task #1221

Merged
merged 2 commits into from Apr 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -4,7 +4,7 @@ cache: bundler

bundler_args: --without local_development
before_install:
- gem update bundler
- gem install bundler

script: bundle exec rake

Expand Down
2 changes: 1 addition & 1 deletion tasks/ragel.rake
Expand Up @@ -11,7 +11,7 @@ rule %r|_parser\.rl\z| => 'lib/mail/parsers/rfc5322.rl'

# Ruby parsers depend on Ragel parser definitions
# (remove -L to include line numbers for debugging)
rule %r|_parser\.rb\z| => '.rl' do |t|
rule %r|_parser\.rb\z| => '%X.rl' do |t|
sh "ragel -s -R -L -F1 -o #{t.name} #{t.source}"
end

Expand Down