5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 09:31:41 +00:00

feat: poder hacer git lfs checkout

This commit is contained in:
f 2023-04-11 10:42:07 -03:00
parent aaa4608cf7
commit d84975a61a

View file

@ -14,6 +14,7 @@ class DeployLocal < Deploy
# Sutty # Sutty
def deploy(output: false) def deploy(output: false)
return false unless mkdir return false unless mkdir
return false unless git_lfs(output: output)
return false unless yarn(output: output) return false unless yarn(output: output)
return false unless pnpm(output: output) return false unless pnpm(output: output)
return false unless bundle(output: output) return false unless bundle(output: output)
@ -113,6 +114,11 @@ class DeployLocal < Deploy
File.exist? pnpm_lock File.exist? pnpm_lock
end end
def git_lfs(output: false)
run %(git lfs fetch), output: output
run %(git lfs checkout), output: output
end
def gem(output: false) def gem(output: false)
run %(gem install bundler --no-document), output: output run %(gem install bundler --no-document), output: output
end end