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

fredemmott/nuclide-customization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

This is a Ruby script that executes hh_client inside a Docker container, mapping paths as neccessary in arguments, stdin, stdout, and stderr. Works interactively and with Nuclide.

Tested with standard system ruby on OSX 10.11.6, and the 3.15.0 hhvm/hhvm-proxygen docker image.

Configuration

This depends on two files:

  • ~/.dev_container: plain text, single line - name of docker image to execute hh_client in
  • ~/.container_paths.json: Map<ContainerName,Map<HostPath,ContainerPath>

For example:

$ cat ~/.dev_container
romantic_keller
$ cat ~/.container_paths.json
{
  "romantic_keller": {
    "/Users/fred": "/root"
  }
}

Usage

Run like hh_client from a terminal window. You can also configure Nuclide to use it in the nuclide-hack package settings inside atom - specify the full path.

License

This software is distributed under the terms of the ISC license.

I am providing the code to you under an open source license. Because this is my personal repository, the license you receive to my code is from me and not from my employer (Facebook).

About

Whatever I do to my nuclide installation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages