GithubHelp home page GithubHelp logo

cygx / 6lib Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 16 KB

Manage symlink-based repositories of local Perl6 modules

License: Boost Software License 1.0

Perl 6 91.94% Makefile 8.06%

6lib's Introduction

6lib

Manage symlink-based repositories of local Perl6 modules

Synopsis

Usage:
  6lib init -- create repository in current working directory
  6lib add [<libs> ...] -- eagerly add libs to repository
  6lib rm [<libs> ...] -- lazily remove libs from repository
  6lib sync -- synchronize repository with indexed libs
  6lib list -- list indexed libs
  6lib prune -- lazily remove missing libs from index
  6lib flush -- delete precompilation cache
  6lib clear -- clear repository but keep index
  6lib clobber -- remove repository
  6lib -C <dir> [<command> ...] -- specify location of target repository

Example Usage

perl6 -Ilib -I../other/lib script.p6

# equivalent call using a local repository
6lib init
6lib add . ../other
perl6 -I.6lib script.p6

# equivalent call using a global repository
export PERL6LIB=$HOME/.6lib
6lib -C $HOME init
6lib -C $HOME add . ../other
perl6 script.p6

Description

Modules are identified by their absolute paths. For each file in a module's lib subdirectory, a symbolic link is created in the .6lib repository.

Paths to module directories are kept in an index file .6lib/lib.list.

Warning

When adding source files to a module's lib directory, you need to re-add the module or call 6lib sync afterwards!

A Note on Windows Usage

The creation of symbolic links in non-administrator mode is only permitted if Developer mode has been enabled. This can be done in Windows 10 in the settings under Update & security / For developers.

Bugs and Development

Development happens at GitHub. If you found a bug or have a feature request, use the issue tracker over there.

Copyright and License

Copyright (C) 2019 by cygx <[email protected]>

Distributed under the Boost Software License, Version 1.0

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.