Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8186835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:21:34+00:00 2026-06-07T02:21:34+00:00

In my project, for example, I have this structure: /public/js/src/ /* many jquery plugins

  • 0

In my project, for example, I have this structure:

/public/js/src/ /* many jquery plugins there */
/public/css/src/ /* many css files there, that describe different things */

After changes have been made, I would like to type in command line something like:

root@hostname:/var/www/test/public# ./build

which would generate two files:

/public/css/build.css - all files from /public/css/src/ folder with minified source
/public/js/build.js - all files from /public/js/src folder with minified source

For the moment I am using less css, which is working on node. I would like to have one script that will do everything, for css as for javascript. Could you please advise the best way to “build” dev-source javascript & css files?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T02:21:36+00:00Added an answer on June 7, 2026 at 2:21 am

    You can use YUI Compressor. I’m sure it’s also available for Linux.
    It works from the command line. Read here how it works.

    Example:

    java -jar yuicompressor-x.y.z.jar myfile.js -o myfile-min.js --charset utf-8
    

    I’m sure you can setup a simple Bash script that executes two commands, one for CSS and one for JS by using parameters as input.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have this code below that loops through a data structure builds up a
1.I have successfully run the ScanTest example project in my xcode4.2.1 2.And then I
i'm download DrillDownApp example project from iPhoneSDKArticles i have a problem when i'm try
I wants to access a method in different project. as example i have called
I have an ant script with the following header: <project name=Simple ActiveJDBC Example default=clean
I need to have : http://www.example.com/v1/my-project/ redirected to http://example.com/my-project/ so : (1) remove the
I have a simple java project (adapted from the example here ), which is
I have been looking at the example posted on OpenNTF - http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&name=Threads%20and%20Jobs my issue
I have problem developing with live555. I already build the lib-files and example projects
For example, I have a document library that hold contracts for multiple projects. So:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.