Git Product home page Git Product logo

hlink's People

Contributors

spiveeworks avatar

Stargazers

 avatar

Watchers

 avatar  avatar

hlink's Issues

clear old symlinks when mounting

checking for folders is necessary to avoid deleting things unintentionally, but if a symlink is in the way of a mount then logically it should be replaced, and this isn't causing an actual deletion anyway so this is in fact fine.

readme - .hLink is messy

Not very clear nor well structured. Contains future features, current features, and an explanation of the CompressPaths tool, in a section named after a file format.

create intermediate directories during mount

The idea of hLink is to turn long repetitive move/link tasks into a simple configuration of an .hLink file, and on new computers many empty intermediate directories won't exist. Obviously they should be created automatically.

fix make

currently the aliases are phony so they get relinked every time you make all

make relative externs work

e.g. ./source/ -> dest/

make join start handling relative sources, (implemented)
add version of mark that simply adds "\n." or "." :->: "."
change mount to handle relative sources, or maybe a third kind of link is needed?

Mark should add newline

Ideally by reading the last character to see if it is a newline, but just making .links always end in \n would work

Unnecessary binary duplication

I should make a single hLink executable, and make the other executables simple createProcess $ proc hLink (commandName : paths) binaries.

In fact I could use the current structure for executables, but with a single callHLink function being passed different command names.

getArgs >>= callHLink "mount"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.