capistrano-bun 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/capistrano-bun.gemspec +1 -1
- data/lib/capistrano/tasks/bun.rake +18 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ac0981e434cb9654a1f5d5651d06ce8d0692452e1f321dd0e8bb4d6af547842
|
4
|
+
data.tar.gz: d068422d28669fc32eccc15124b311e4d6cf2ab4f38f413602f4c147e768e8b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ec36e1c5bacdb30d8fefe980404f9c6c92ba425de8aaf6af7fa60ddc1da5533e04e7a5191a8ba97f2b743b3704fafcb8473bbfec7fd3f8eb4db74a148ae9a4a
|
7
|
+
data.tar.gz: 57106d579a264b186acece8931a3b0d6f9249bbe739e8775312fa28c55b5ad016d63223d2467e78d0ed2dc871a3c2c4520591ada10d4a610ff5d284debc5acde
|
data/capistrano-bun.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'capistrano-bun'
|
7
|
-
spec.version = '1.0.
|
7
|
+
spec.version = '1.0.4'
|
8
8
|
spec.authors = ['Ferhat Ziba']
|
9
9
|
spec.email = ['fero.ziba@gmail.com']
|
10
10
|
spec.description = %q{bun support for Capistrano 3.x}
|
@@ -64,6 +64,24 @@ namespace :bun do
|
|
64
64
|
end
|
65
65
|
end
|
66
66
|
end
|
67
|
+
|
68
|
+
desc <<-DESC
|
69
|
+
Build via bun. This command is executed within the same context \
|
70
|
+
as bun install using the bun_roles and bun_target_path \
|
71
|
+
variables.
|
72
|
+
|
73
|
+
This task is strictly opt-in. The main reason you'll want to run this \
|
74
|
+
would be after changing bun versions on the server.
|
75
|
+
DESC
|
76
|
+
task :build do
|
77
|
+
on roles fetch(:bun_roles) do
|
78
|
+
within fetch(:bun_target_path, release_path) do
|
79
|
+
with fetch(:bun_env_variables, {}) do
|
80
|
+
execute :bun, 'build'
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
67
85
|
end
|
68
86
|
|
69
87
|
namespace :load do
|