Skip to content

Comment on Show HN: Fez, a file-based build tool for JavaScript

Comments

I don't understand how to use it. Can I just write this:

    *.less → %f.css
    *.css → %f.min.css
    *.min.css → dist.min.css
in a file and then run the command "fez"? And if not, then why not? If that was how you used fez then I would strongly consider using it.

If you are looking for a build tool, I strongly recommend you first consider a bash script.

Or if you are still looking for a build tool, like you collect them or something, I made my own too (lol): https://github.com/ithkuil/bild

Mine uses yaml files like this:

    - coffee:
        files: src/*.coffee
        out: lib
    - uglify: 
        files: public/js/*.js
        out: public/js/min.js

This is exactly how harp works. If you don't want to deal with configuration harp implicitly does what you just suggested. You can run it directly as a web server or compile your project to HTML/CSS/JS. It might be what you are looking for.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.