Skip to content

Little CLI script for creating symlinks from configuration

License

Notifications You must be signed in to change notification settings

emcode/link-assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Link assets

This is little CLI script for creating symlinks from configuration

I'm using it accross different projects when I have to often create few different symlinks just to get some things to work

Run it

  1. Download link-assets.php script
  2. Place it somewhere in your project (for. ex. inside "scripts" or "bin" folder)
  3. Change $baseAssetsPath (at line 5) and $pathsMapping (at line 10) to meet your needs
  4. Give it "execution" permission using command:
sudo chmod +x ./bin/link-assets.php
  1. Run it:
./bin/link-assets.php

Dependencies

To run this you need to have php5-cli installed (php available in terminal).

About

Little CLI script for creating symlinks from configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages