Closed cmars closed 6 years ago
@cmars You're welcome and thanks for the PR! I'll keep it open so people could start faster with the command line.
Rebased to master
Is this going to get merged?
@VelocityRa No. But you can merge it in your fork.
Oh, alright.
I have no clue in snap and dotnet. How do I install it?
$ docker run --rm -ti snapcore/snapcraft
# sudo snap install wfc-cmars
error: cannot communicate with server: Post http://localhost/v2/snaps/wfc-cmars: dial unix /run/snapd.socket: connect: no such file or directory
Snaps are kind of awkward in that they only work with a live snapd agent running -- which doesn't easily work inside a Docker container. A Dockerfile + wrapper script might be a lot more portable than a snap...
I was pretty interested in this project after learning about it last week on HN, but I wasn't really set up for .NET/C# development, and I don't run Windows.
My C# is pretty rusty, but I've added command-line options with NDesk.Options, and a Makefile for building on Linux with Mono. Apologies in advance that my C# style could be pretty bad -- I haven't done .NET in years.
For the community interested in this project, I've also added snap packaging (see snapcraft.yaml) in this PR, so that you can just install it on Linux OSes. I've published this package under my namespace as
wfc-cmars
. On Ubuntu 16.04, you can install withsudo snap install wfc-cmars
, and then you'll be able to run withwfc-cmars
. For example:Snap packages support most or all Linux distributions, see http://snapcraft.io for instructions on installing the
snap
command if you don't have it.Hope this is helpful, and thanks for this amazing fun project!