Skip to content

freelancer/flarc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flarc

flarc is a libphutil library that contains various Arcanist extensions used at Freelancer.com, mostly relating to linting and testing integrations.

Installation

To use flarc, you must clone the repository into a location that Arcanist knows how to load it. Arcanist adjusts the PHP include path in arcanist_adjust_php_include_path so that libphutil libraries can be loaded from any of the following locations:

  1. A directory adjacent to arcanist/ itself.
  2. Anywhere in the normal PHP include_path.
  3. Inside arcanist/externals/includes/.

Usage

general usage

To use flarc in your project, add flarc/src to the load path in the project's .arcconfig:

{
  "load": ["flarc/src"]
}

Usage in fl-gaf

To pin the version of flarc used in fl-gaf, update the FLARC_VERSION in rGaf/support/flarc/src/common/FlarcVersionChecker.php.

Usage in CI

flarc is built and used as a docker image in CI. It was built daily in this CI job. It's probably a good idea to trigger this job manually once you've made changes to flarc.

Development

Adding/Updating Linters

For more information on adding or updating linters, see lint/README.md.

Versioning

To create a new version of flarc:

  • Update composer.json to the new version.
  • Run arc liberate and composer update --lock.

About

Arcanist extensions used at Freelancer.com.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published