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

feat: add --dry-run option to load user's function but not start a server #118

Merged
merged 2 commits into from
Jan 30, 2020

Conversation

hdp617
Copy link
Contributor

@hdp617 hdp617 commented Jan 28, 2020

With this option, we can load a function without starting a server, i.e.

functions-framework --target=helloWorld --dry-run=true

so that it can be used in builds to check for syntax errors, etc.

src/index.ts Outdated Show resolved Hide resolved
src/index.ts Show resolved Hide resolved
@hdp617 hdp617 merged commit 9e148c2 into master Jan 30, 2020
@hdp617 hdp617 deleted the ff-nodejs-dryrun branch January 30, 2020 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants