Skip to content

Commit

Permalink
Add serverless framework binary installation (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
troxil authored Oct 10, 2023
1 parent e1bff47 commit ccae38e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions serverless.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
description = "The Serverless Framework – Build applications on AWS Lambda and other next-gen cloud services, that auto-scale and only charge you when they run. This lowers the total cost of running and operating your apps, enabling you to build more and manage less."

test = "serverless --version"

linux {
source = "https://github.com/serverless/serverless/releases/download/v${version}/serverless-linux-x64"
on unpack {
rename { from = "${root}/serverless-linux-x64" to = "${root}/serverless" }
}
}

darwin {
source = "https://github.com/serverless/serverless/releases/download/v${version}/serverless-macos-x64"
on unpack {
rename { from = "${root}/serverless-macos-x64" to = "${root}/serverless" }
}
}

binaries = ["serverless"]

version "3.35.2" {
auto-version {
github-release = "serverless/serverless"
}
}

0 comments on commit ccae38e

Please sign in to comment.