Comments (8)
In gitlab by @rdallman on May 17, 2017, 16:31
here's the one i made for ironcli a while ago https://github.com/Homebrew/homebrew-core/pull/27/files -- should be almost the same
from fn.
In gitlab by @rdallman on May 17, 2017, 16:32
we need a public repo before we can really do this (or we can make it for the iron repo one but idk)
from fn.
In gitlab by @treeder on May 18, 2017, 10:10
Yes, need to wait for it to be public.
from fn.
Created formula below. This works except I think it violates the binary rule, apparently homebrew wants people to build on the user's machine (no idea why?), but will try to get it through anyways. If not, I'll change it to the way Reed has it for ironcli.
TODO: Once public, this code will go into /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/fn.rb
and pushed to a fork, then pull request into homebrew-core
.
class Fn < Formula
desc "The CLI tool for the fn project."
homepage "https://github.com/fnproject/fn"
version "0.3.55"
url "https://github.com/fnproject/cli/archive/#{version}.tar.gz"
sha256 "cdcfdf791be60a5fdd578f912833020f4ee9389655f32d52a6bc9747f4bf7b8f"
def install
base_url="https://github.com/fnproject/cli/releases/download/#{version}"
system("curl -sSL -o fn #{base_url}/fn_mac")
puts `ls -al`
bin.install "fn"
end
def post_install
puts `fn --version`
end
test do
puts `#{bin}/fn --version`
end
end
from fn.
(no idea why?)
ya know, some people still have to deal with dynamically linked libraries ;)
from fn.
dep's formula: https://github.com/Homebrew/homebrew-core/blob/master/Formula/dep.rb
Having a dependency on "go" is pretty wasteful, hopefully they'll let us just install the bin.
from fn.
oooh, think I figured out how to do it right.
https://github.com/Homebrew/brew/blob/master/docs/Bottles.md
from fn.
Submitted PR Homebrew/homebrew-core#17192
from fn.
Related Issues (20)
- [fnserver] `fn invoke myapp hello` on Windows: Error invoking function. status: 502 message: Container failed to initialize HOT 13
- @FnConfiguration not able to run when i'm setting in child class
- No new commits?
- Support for OCI fss
- Fn function times out before the actual timeout HOT 3
- Error on Debian 10: Cannot get the proper memory information to size server.
- Deploy without building
- fn create app myapp errors out with "read: connection reset by peer" HOT 1
- Project Status
- ARM binaries / ARM Docker images HOT 2
- fnserver container has no access to internal cluster network - cannot ping mysql database
- Wrong time zone in fn logs HOT 2
- fn - ERROR - Could not find config file HOT 1
- Is this project DEAD? HOT 6
- External API invocation is failing with 502 error
- Project Discontinuation? HOT 1
- Vulnerability of dependency "golang.org/x/text" HOT 2
- Is there any way to set the go runtime env $GORPOXY?
- How to import a JavaScript file located outside the directory of a function with Node.js?
- error="docker version is too old. Required: 17.10.0-ce Found: 4.8.1" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fn.