Giter Site home page Giter Site logo

rapsys / packer Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 15 KB

Javascript and css perl packing scripts

Home Page: https://git.rapsys.eu/packer/

License: GNU General Public License v3.0

Perl 100.00%
css-tool css-tools js-tool js-tools packer javascript-tool javascript-tools perl webpack assetic

packer's Introduction

Contribute

You may buy me a Beer, a Tea or help with Server fees with a paypal donation to the address [email protected].

Don't forget to show your love for this project, feel free to report bugs to the author, issues which are security relevant should be disclosed privately first.

Patches are welcomed and grant credit when requested.

Installation

Install cpack and jpack binaries

You need to have cpack and jpack scripts from this repository set as executable and installed in /usr/local/bin.

Step 1: Install the required perl packages

To install cpack and jpack required packages open a root console and execute the following command:

# urpmi perl-base perl-CSS-Packer perl-JavaScript-Packer

or stone age distributions:

# apt-get install libcss-packer-perl libjavascript-packer-perl

or other distributions through cpan:

# cpan App::cpanminus
# cpanm CSS::Packer
# cpanm JavaScript::Packer

Step 2: Install the binaries

To install cpack and jpack binaries open a root console and execute the following command:

# cp cpack jpack /usr/local/bin/

Use cpack and jpack binaries

To use local binaries you may execute the following commands:

$ cpack < input.css > output.css
$ jpack < input.js > output.js

packer's People

Watchers

 avatar

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.