From 1b490566e9a05e248cf089b5ba1ea73b1cc4cb96 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Fri, 23 Aug 2013 10:57:21 -0500 Subject: [PATCH] Makefile and sass build working --- .gitignore | 2 ++ Gruntfile.js | 3 +++ Makefile | 6 +++++ dist/framework.css | 1 + package.json | 15 +++++++++++++ scss/framework.scss | 41 +++------------------------------- scss/framework/_variables.scss | 0 7 files changed, 30 insertions(+), 38 deletions(-) create mode 100644 Gruntfile.js create mode 100644 Makefile create mode 100644 dist/framework.css create mode 100644 package.json create mode 100644 scss/framework/_variables.scss diff --git a/.gitignore b/.gitignore index 5da72ec272..4f1c485c27 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .DS_Store *.sw[mpcod] + +.sass-cache/ \ No newline at end of file diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000000..1d7571020c --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,3 @@ +module.exports = function(grunt) { + +} \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..1958c60664 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ + + +all: release + +release: + @sass -I scss/ scss/framework.scss:dist/framework.css \ No newline at end of file diff --git a/dist/framework.css b/dist/framework.css new file mode 100644 index 0000000000..9f44090c94 --- /dev/null +++ b/dist/framework.css @@ -0,0 +1 @@ +@charset "UTF-8"; diff --git a/package.json b/package.json new file mode 100644 index 0000000000..c79cb8c058 --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "framework", + "private": true, + "version": "0.0.01", + "devDependencies": { + "grunt": "~0.4.0", + "grunt-contrib-watch": "~0.1.0", + }, + "licenses": [ + { + "type": "MIT", + "url": "https://github.com/zurb/foundation/blob/master/LICENSE" + } + ] +} \ No newline at end of file diff --git a/scss/framework.scss b/scss/framework.scss index 60bffeeffe..877e3674ea 100755 --- a/scss/framework.scss +++ b/scss/framework.scss @@ -1,43 +1,8 @@ @charset "UTF-8"; // This includes all of the framework global elements that are needed to work with any of the other files. -@import "foundation/variables"; +@import "framework/variables"; -// Foundation Components +// Components @import - "" - "foundation/components/global", - "foundation/components/grid", - "foundation/components/visibility", - "foundation/components/block-grid", - "foundation/components/type", - "foundation/components/buttons", - "foundation/components/forms", - "foundation/components/button-groups", - "foundation/components/dropdown-buttons", - "foundation/components/split-buttons", - "foundation/components/flex-video", - "foundation/components/section", - "foundation/components/top-bar", - "foundation/components/orbit", - "foundation/components/reveal", - "foundation/components/joyride", - "foundation/components/clearing", - "foundation/components/alert-boxes", - "foundation/components/breadcrumbs", - "foundation/components/custom-forms", - "foundation/components/keystrokes", - "foundation/components/labels", - "foundation/components/inline-lists", - "foundation/components/pagination", - "foundation/components/panels", - "foundation/components/pricing-tables", - "foundation/components/progress-bars", - "foundation/components/side-nav", - "foundation/components/sub-nav", - "foundation/components/switch", - "foundation/components/magellan", - "foundation/components/tables", - "foundation/components/thumbs", - "foundation/components/tooltips", - "foundation/components/dropdown"; \ No newline at end of file + "framework/components/buttons"; \ No newline at end of file diff --git a/scss/framework/_variables.scss b/scss/framework/_variables.scss new file mode 100644 index 0000000000..e69de29bb2