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 6550569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:13:53+00:00 2026-05-25T12:13:53+00:00

How can I (and what tools do I need to) create a makefile that:

  • 0

How can I (and what tools do I need to) create a makefile that:

  • Combine all JavaScripts ‘/js/*.js’ (in a manual order – possibly with cat)
  • Verify that combined script works against unit tests (which using qUnit)
  • Minify JavaScripts
  • Verify that minified script works against same unit tests

I would like makefile to work on Mac OS command line.

I will be uploading the Makefile to a GitHub repository, so I would like something that other developers will be able to use easily.

  • 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-05-25T12:13:54+00:00Added an answer on May 25, 2026 at 12:13 pm

    Thanks for all the suggestions, here is the solution that I have decided to go with:

    • Makefiles – just as a shortcut really
    • Google V8 – to execute JavaScript from command-line

    I can easily perform minification and unit testing using JavaScript.

    I have made a few minor changes (added ability to write files) to the sample shell application that comes with V8 and compiled on OS X. I plan to somehow cross-compile for OS X and Windows in both 32bit and 64-bit. I will include binaries for V8 and custom application source in the GitHub repository. I will include instructions to obtain and compile V8 for those who want to customise or recompile.

    V8 will be doing all of the work (essentially). Whilst I have yet to bring all of these things together, I believe that this should work.

    The only downside is that DOM based unit testing cannot be automated. It might be possible to get the DOM stuff from the Chromium project, but this is probably going to be too time consuming. I’ll leave that to an enthusiastic contributor (should anybody want to).

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

Sidebar

Related Questions

Anyone have experience with tools that can capture web traffic and create scriptable objects
Can someone guide me towards some good opensource project management tools? I need it
Can anyone recommend tools or articles that help me to learn how to TDD
Are there any tools that can tell me what percentage of a XSL document
I'm looking for any tools that can give you code churn metrics (graphs and
I'm specifically interested in tools that can be plugged into Vim to allow CScope-style
Are there any more generic tools that can compile or basically merge multiple PHP
I am using C# and DSL Tools for VS2005. I need to create Transactions
I need to create a cherrypy main page that has a login area. I
I need to create an auto-updater on clients computer that will automatically update a

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.