[client] PlayerTank to PlayerControl change

This commit is contained in:
2018-01-04 20:40:09 +03:00
parent 4d27f2a55d
commit b2ba693dbf
10 changed files with 328 additions and 292 deletions

View File

@@ -2,7 +2,8 @@ set :npm_path, -> { release_path }
namespace :npm do
task :prepare do
on roles(:all) do
npm_role = fetch(:npm_role)
on roles(npm_role) do
npm_target_path = fetch(:npm_target_path)
npm_path = fetch(:npm_path)
execute "mkdir -p #{npm_target_path}"
@@ -10,7 +11,8 @@ namespace :npm do
end
end
task :link do
on roles(:all) do
npm_role = fetch(:npm_role)
on roles(npm_role) do
npm_target_path = fetch(:npm_target_path)
npm_path = fetch(:npm_path)
execute "ln -s #{npm_target_path}/node_modules #{npm_path}/"