Commit Graph

28 Commits

Author SHA1 Message Date
Alex Palaistras f26cba14c7 Implement better ordering for tests 2016-07-03 13:45:26 +01:00
Alex Palaistras e05aabbadb Clean up and separate tests
Tests are now placed in their own folders, and separated per unit.
2016-05-21 13:17:39 +01:00
Alex Palaistras b1f6c8ad4a Clarify README section on project status 2016-05-19 22:09:39 +01:00
Alex Palaistras d82ad0ae29 Expand mixin support, fix README docs 2016-05-19 21:45:17 +01:00
Alex Palaistras aa37d6c3fd Add initial mixin support.
This adds support for simple mixins, i.e. parameters and parent
selectors aren't handled yet. More to come.
2016-05-17 10:27:47 +01:00
Alex Palaistras c43d0214d8 Fix issue with multi-word variables and incorrect trim 2016-03-20 22:59:57 +00:00
Alex Palaistras ba29487be5 Fix comment block, better align `make help` task-list 2016-03-19 15:22:41 +00:00
Alex Palaistras a849ee6135 Make `@import` declarations more robust against the SASS spec 2016-03-19 11:38:36 +00:00
Alex Palaistras 7257ea0902 Makefile: Align test result text for better readability 2016-03-19 11:38:03 +00:00
Alex Palaistras 9d8de835fd Rename all references of `include` to `import`
Due to a major facepalm, `@import` declarations were incorrectly handled
as `@include` declarations instead. The code and accompanying documentation
and tests have been rectified to fix this error.
2016-03-17 12:33:04 +00:00
Alex Palaistras 19ff03983d Improve test file for include functionality 2016-03-17 12:25:38 +00:00
Alex Palaistras e5d2012112 Fix issues with `include` declarations, add better docs 2016-03-17 12:23:52 +00:00
Alex Palaistras 984c36cc2d Add initial version of `@include` declaration support
This adds support for SASS-style `@import` declarations, for transparently
including external `.scss` files in the resulting markup. File names are
resolved as per the rules set by SASS (i.e. importing a file named
"include/common" will search for "_common.scss" as well as "common.scss").

The entire source code had to be restructured around the idea of having to
switch the file context transparently, and is now based around double `while`
loops, one for checking the current context and the other for checking the
current line via `getline`.

The included test-suite may need some cleaning up, and the source code most
definitely will. More to come.
2016-03-17 00:10:24 +00:00
Alex Palaistras 95da80f8c0 Makefile: Simplify `make help` command. 2016-03-16 21:43:17 +00:00
Alex Palaistras 32e3f189cc Remove prematurely-pushed test files 2016-03-09 22:38:34 +00:00
Alex Palaistras 19f2f5b514 Change tagline, fix comments 2016-03-09 22:36:57 +00:00
Alex Palaistras 15d6669097 Makefile: Add help text template for `make help` 2016-03-06 17:25:04 +00:00
Alex Palaistras c270602e37 Move from BASH-based task runner to Makefile 2016-03-06 16:17:20 +00:00
Alex Palaistras 98fcc7b634 Make comment blocks Markdown-compliant
This allows for documentation to be generated as Markdown using
the `task-runner doc` command. Generated Markdown can then be
rendered to HTML as needed.
2016-03-05 23:51:47 +00:00
Alex Palaistras c104e833b4 Move test runner into generic task runner script 2016-03-05 23:51:28 +00:00
Alex Palaistras 031fe1d0be Move shared regex rules to table, fix special cases with variables 2016-03-04 16:18:10 +00:00
Alex Palaistras 5dbcfb1546 Move tests from `spec` to `tests` folder, fix test runner messages 2016-02-28 21:40:53 +00:00
Alex Palaistras 1e4b725789 Move from `fkss` to `scss` extension for testsuite files 2016-02-28 19:35:48 +00:00
Alex Palaistras 6f1d8dbefc Change byline for README header 2016-02-28 19:35:37 +00:00
Alex Palaistras d30104d7a1 Add LICENSE and README files 2016-02-28 19:31:00 +00:00
Alex Palaistras 27c845a16c Implement inline comment rule, make tests a bit more robust 2016-02-28 19:11:25 +00:00
Alex Palaistras 9a7431b232 Complete work on simple variable definitions. 2016-02-28 16:08:55 +00:00
Alex Palaistras 0a43eddd20 First version of Fawkss with basic test-suite 2016-02-28 11:13:34 +00:00