Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Funcfile Support #104

Merged
merged 7 commits into from
Jun 5, 2024
Merged

Funcfile Support #104

merged 7 commits into from
Jun 5, 2024

Conversation

zix99
Copy link
Owner

@zix99 zix99 commented Jun 1, 2024

Add ability to define custom functions in a funcfile for ease/repeatability of logic

Copy link

netlify bot commented Jun 1, 2024

Deploy Preview for raredocs ready!

Name Link
🔨 Latest commit 68e0cc9
🔍 Latest deploy log https://app.netlify.com/sites/raredocs/deploys/665fc495aeed2d0008837178
😎 Deploy Preview https://deploy-preview-104--raredocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov-commenter
Copy link

codecov-commenter commented Jun 1, 2024

Codecov Report

Attention: Patch coverage is 96.57534% with 5 lines in your changes missing coverage. Please review.

Project coverage is 91.79%. Comparing base (0192d22) to head (68e0cc9).

Files Patch % Lines
main.go 50.00% 4 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #104      +/-   ##
==========================================
+ Coverage   91.67%   91.79%   +0.11%     
==========================================
  Files         109      113       +4     
  Lines        5564     5704     +140     
==========================================
+ Hits         5101     5236     +135     
- Misses        344      348       +4     
- Partials      119      120       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -45,7 +45,7 @@ func expressionFunction(c *cli.Context) error {
expString = string(b)
}

builder := stdlib.NewStdKeyBuilderEx(!noOptimize)
builder := funclib.NewKeyBuilderEx(!noOptimize)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A test to make sure this works would be good

docs/usage/funcsfile.md Outdated Show resolved Hide resolved
@zix99 zix99 merged commit 52d672c into master Jun 5, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants