Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

textql 2.0.0 (new formula) #44799

Closed
wants to merge 1 commit into from
Closed

Conversation

dinedal
Copy link
Contributor

@dinedal dinedal commented Oct 9, 2015

Textql allows fast execution of SQL statements over text files. Supports a *nix-like interface, stdin/stdout and pipes. Avoids disk access unless requested.

ENV["GOPATH"] = buildpath
Language::Go.stage_deps resources, buildpath/"src"

system "go", "build", "-i", "-ldflags", "-X main.VERSION 2.0.0", "#{buildpath}/src/github.com/dinedal/textql/cmd/textql.go"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is -i necessary here?

@dinedal
Copy link
Contributor Author

dinedal commented Oct 11, 2015

Thank you for the feedback, all of your suggestions / corrections have been applied. Please let me know if there is anything else, and I'm happy to adjust it.

@bfontaine
Copy link
Contributor

The test failed:

==> /usr/local/Cellar/textql/2.0.0/bin/textql -sql 'select count(*) from stdin'
2015/10/11 12:39:33 no such table: stdin

@bfontaine
Copy link
Contributor

Ping?

@dinedal
Copy link
Contributor Author

dinedal commented Dec 14, 2015

Really sorry, I released a new version to fix the issue, but didn't get to make the changes here.

Should I re-open with a new, updated branch?

@bfontaine
Copy link
Contributor

No, you can update this PR by either pushing a new commit or squashing in the existing one and force-pushing.

@dinedal
Copy link
Contributor Author

dinedal commented Dec 15, 2015

Force pushed a new commit.

@dinedal dinedal force-pushed the textql-2.0.0 branch 5 times, most recently from d8dc6d6 to a08f674 Compare December 15, 2015 05:48

system "go", "build", "-ldflags", "-X main.VERSION=2.0.2", "#{buildpath}/src/github.com/dinedal/textql/textql/main.go"
mv "main", "textql"
bin.install "textql"
Copy link
Contributor

Choose a reason for hiding this comment

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

You can merge the three lines above by adding "-o", "#{bin}/textql" to the go build line.

@dinedal dinedal force-pushed the textql-2.0.0 branch 5 times, most recently from 7842a2e to 114f4de Compare December 16, 2015 06:21
Textql allows fast execution of SQL statements over text files. Supports a *nix-like interface, stdin/stdout and pipes. Avoids disk access unless requested.
@dinedal
Copy link
Contributor Author

dinedal commented Dec 16, 2015

Changes made as requested, happy to do any more you feel are needed.

@bfontaine
Copy link
Contributor

Thank you for your contribution to Homebrew @dinedal; we appreciate it! 🎉

@bfontaine bfontaine closed this in 0e502b6 Dec 16, 2015
@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants