-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add serverless framework binary installation (#397)
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |