Skip to content

Commit

Permalink
Removing Rakefile and adding an install.php file in its place
Browse files Browse the repository at this point in the history
  • Loading branch information
jamierumbelow committed May 1, 2012
1 parent b4f0f98 commit 36725f8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
14 changes: 10 additions & 4 deletions README.md
Expand Up @@ -13,16 +13,22 @@ Remember to grab your submodules:
$ git submodule init
$ git submodule update

...and compile!
...and compile it! I've written a little PHP script to do all the stuff you need to do:

$ rake
$ php install.php

The rake task will run the tests as well, so you'll have some output there.
Run the tests:

Once compiled, you can install with `make`:
$ make test

Finally, you can install with `make`:

$ make install

And then add it to your _php.ini_:

extension=sass.so

## Usage

This extension has a very simple API:
Expand Down
11 changes: 0 additions & 11 deletions Rakefile

This file was deleted.

7 changes: 7 additions & 0 deletions install.php
@@ -0,0 +1,7 @@
<?php

system('make clean');
system('cd lib/libsass && make && cd ../..');
system('phpize');
system('./configure');
system('make');

0 comments on commit 36725f8

Please sign in to comment.