https://github.com/4d47/install-dependencies
https://github.com/4d47/install-dependencies
dependency-manager deprecated downloader php
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/4d47/install-dependencies
- Owner: 4d47
- License: mit
- Created: 2013-07-15T01:50:01.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-02-16T15:41:01.000Z (about 8 years ago)
- Last Synced: 2025-02-04T13:49:09.245Z (3 months ago)
- Topics: dependency-manager, deprecated, downloader, php
- Language: PHP
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Install Dependencies
## Install
Copy `install-dependencies` script to your path.
Make it executable and be sure PHP cli (yikes!) is installed.## Usage
You define your dependencies in a file named `Dependencies` at top of your
project. Listing files and third-party artifacts (with an optional checksum).
The fragment part in the url can be added to point a subdirectory in an archive.Then run `install-dependencies`.
The artifacts will be downloaded _once_, saved to `~/.install-dependencies`
and linked in the projet. You can change the location using `env INSTALL_DEPENDENCIES_HOME`.### Example
```bash
cat << 'END' > Dependencies# Example file using old, unexciting dependencies.
# First notice there is no .lock file, no semver, only fixed dependencies.library/Zend https://github.com/zendframework/zf1/archive/release-1.12.3.zip#library/Zend
# So yeah it is homemade TEXT format
# local-path url[#optional-subpath-if-url-is-an-archive] [optional-url-checksum]library/PHPThumb https://github.com/masterexploder/PHPThumb/archive/v1.0-final.zip#src
# There is no centeral registry, accounts, registration, only the public Internet.
public/js/jquery.js http://code.jquery.com/jquery-1.10.2.min.js sha256-C6CB9UYIS9UJeqinPHWTHVqh/E1uhG5Twh+Y5qFQmYg=
ENDinstall-dependencies
```