mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 16:38:23 +00:00
Make setup use lockfile + mandate minimum release age
This commit is contained in:
parent
28fe4739f5
commit
42033e6d28
2 changed files with 5 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ FileUtils.chdir APP_ROOT do
|
||||||
|
|
||||||
puts "== Installing dependencies =="
|
puts "== Installing dependencies =="
|
||||||
system("bundle check") || system!("bundle install")
|
system("bundle check") || system!("bundle install")
|
||||||
system! "bun install"
|
system! "bun install --frozen-lockfile"
|
||||||
|
|
||||||
# puts "\n== Copying sample files =="
|
# puts "\n== Copying sample files =="
|
||||||
# unless File.exist?("config/database.yml")
|
# unless File.exist?("config/database.yml")
|
||||||
|
|
|
||||||
4
bunfig.toml
Normal file
4
bunfig.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
[install]
|
||||||
|
# Only install package versions published at least 3 days ago
|
||||||
|
# (cough cough axios RAT...)
|
||||||
|
minimumReleaseAge = 259200 # seconds
|
||||||
Loading…
Add table
Reference in a new issue