require_relative '../local_modules'

task :deps do
  install_local_module 'common'
  sh 'npm install'
end

task build: :deps do
  sh 'npx tsc'
end

task test: :deps do
  # Prevent burst requests to Rakuten Web Service.
  sh 'npx jest --coverage --maxWorkers 1'
end

task :clean do
  sh 'git clean -dfx'
end

require_relative '../local_modules'

task :deps do
  install_local_module 'common'
  sh 'npm install'
end

task build: :deps do
  sh 'npx tsc'
end

task test: :deps do
  # Prevent burst requests to Rakuten Web Service.
  sh 'npx jest --coverage --maxWorkers 1'
end

task :clean do
  sh 'git clean -dfx --exclude .runtimeconfig.json'
end

Exclude config file from clean up
Exclude config file from clean up
