Skip to content

particle-iot/buildpack-install-dependencies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buildpack installing library dependencies

Build Status

This buildpack runs particle library install --vendor command inside of user sources which installs all dependencies inside of the project.

Building image

$ docker-compose build

Running

Provided you have a project with dependencies in ~/tmp/input directory running following command will install those and save both project and dependencies in ~/tmp/output:

$ export ACCESS_TOKEN=<VALID_TOKEN>
$ docker run --rm \
  -v ~/tmp/input:/input \
  -v ~/tmp/output:/output \
  -e ACCESS_TOKEN=$ACCESS_TOKEN \
  particle/buildpack-install-dependencies

Testing

To run tests use:

$ docker run --rm \
  -e ACCESS_TOKEN=$ACCESS_TOKEN \
  particle/buildpack-install-dependencies \
  /bin/run-tests

About

Buildpack installing project dependencies

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages