Rakefile in faster_path-0.1.12 vs Rakefile in faster_path-0.1.13

- old
+ new

@@ -55,22 +55,27 @@ puts "Quality check starting..." sh "rubocop" puts end +desc "Run Rust Tests" +task :cargo do + sh "cargo test -- --nocapture" +end + Rake::TestTask.new(minitest: :build_lib) do |t| t.libs << "test" t.libs << "lib" t.test_files = FileList['test/**/*_test.rb'] end -task test: [:minitest, :lint] do |_t| - exec 'mspec --format spec core/file/basename core/file/extname core/file/dirname library/pathname' +task test: [:cargo, :minitest, :lint] do |_t| + exec 'spec/mspec/bin/mspec --format spec core/file/basename core/file/extname core/file/dirname library/pathname' end desc "Full mspec results w/o encoding" task :mspec_full do - exec %(bash -c "TEST_MONKEYPATCHES=true WITH_REGRESSION=true mspec --format spec core/file/basename core/file/extname core/file/dirname library/pathname") + exec %(bash -c "TEST_MONKEYPATCHES=true WITH_REGRESSION=true spec/mspec/bin/mspec --format spec core/file/basename core/file/extname core/file/dirname library/pathname") end desc "Full mspec results w/ encoding" task :mspec_encoding_full do exec %(bash -c "ENCODING=1 TEST_MONKEYPATCHES=true WITH_REGRESSION=true mspec --format spec core/file/basename core/file/extname core/file/dirname library/pathname")