Skip to content

pwenzel/fswatch-makefile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fswatch-makefile

Example CSS and Javascript build system using a Makefile.

A simple alternative to other build systems such as Grunt, Gulp, and Guard.

This example compiles javascript and CSS dependencies into single minified files.

The example assumes dependencies fswatch and yuicompressor are installed, but you could tailor it however you want. Both can be installed with Homebrew.

Quickstart

Run the following to get started:

git clone https://github.com/pwenzel/fswatch-makefile.git
cd fswatch-makefile
brew install yuicompressor fswatch
make

Open index.html in your web browser.

Then review the Makefile for more info.

Usage

Automatically compile CSS and Javascript files when changed:

make watch

Compile CSS and Javascript files:

make

Compile your CSS files:

make css

Compile your Javascript files:

make js

Optimize/minifiy Javascript and CSS files:

make optimize

More Resources

About

Example CSS and Javascript build system using a Makefile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published