← Back to team overview

elementary-dev-community team mailing list archive

Re: Sample contractor client


Does this require libgranite2? I'm getting this compilation error:

contractor-cli-granite.vala:47.33-47.88: error: The name
`get_contracts_for_files' does not exist in the context of
                var contracts =
Granite.Services.ContractorProxy.get_contracts_for_files (files);

Also, the compile line in the comments section at the top of the file uses
the wrong file name.

On Wed, Jan 29, 2014 at 6:57 AM, Sergey "Shnatsel" Davidoff <
sergey@xxxxxxxxxxxxxxxx> wrote:

> Hey guys,
> I've noticed we have no example for using the Contractor API via Granite
> wrapper, so I've hacked one together. It's a simple command-line utility
> written in Vala.
> The source code is BSD-licensed and can be found at
> https://code.launchpad.net/~elementary-pantheon/contractor/contractor-cli
> It has no build system as of yet; I'm not sure if it needs one because
> it's just an example and not something useful in real life. The compilation
> is just one valac line anyway.
> I hope this lowers the entry barrier for Contractor adoption.
> Cheers,
> --
> Sergey "Shnatsel" Davidoff
> --
> Mailing list: https://launchpad.net/~elementary-dev-community
> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~elementary-dev-community
> More help   : https://help.launchpad.net/ListHelp

Follow ups