diff options
| author | mo khan <mo@mokhan.ca> | 2019-09-03 18:21:23 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2019-09-03 18:21:23 -0600 |
| commit | 234e0bfce1d7e0cdff00b16251911931151b247f (patch) | |
| tree | 6ac4d5dcc6fe2265ef0bca74ae01cc2aeab7c8b7 /Rakefile | |
| parent | eb74c614e6fafaa3a9c308512ee7ba363adfd3dd (diff) | |
use yarn to resolve bin path
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ Rake::PackageTask.new("COMP325-2", DateTime.now.strftime("%y%m").to_i) do |packa ] end -task(:pdf) { sh 'node ./node_modules/.bin/mdpdf README.md' } +task(:pdf) { sh 'node $(yarn bin mdpdf) README.md' } task(:clean) { sh 'rm -fr pkg' } task(:test) { sh 'bin/test' } task default: [:clean, :test, :pdf, :repackage] do |
