mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Clean up test folder structure
This commit is contained in:
parent
f659047462
commit
23b2bc5d0a
11
.travis.yml
11
.travis.yml
@ -4,11 +4,18 @@ matrix:
|
||||
before_install:
|
||||
- gem install sass
|
||||
script:
|
||||
- test/ruby-sass.sh
|
||||
- test/ruby-sass/ruby-sass.sh
|
||||
- language: node_js
|
||||
node_js:
|
||||
- node
|
||||
before_script:
|
||||
- npm install sass
|
||||
script:
|
||||
- node test/dart-sass.js
|
||||
- node test/dart-sass/dart-sass.js
|
||||
- language: node_js
|
||||
node_js:
|
||||
- node
|
||||
before_script:
|
||||
- npm install node-sass
|
||||
script:
|
||||
- node test/node-sass/node-sass.js
|
||||
|
2
test/.gitignore
vendored
2
test/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
/build
|
||||
**/build
|
||||
/css
|
||||
|
@ -1,9 +1,9 @@
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const sass = require('sass');
|
||||
const utils = require('./utils');
|
||||
const utils = require('../utils');
|
||||
|
||||
const DART_BASE_PATH = 'test/build/dart-sass/';
|
||||
const DART_BASE_PATH = 'test/dart-sass/build/';
|
||||
|
||||
fs.mkdir(DART_BASE_PATH, { recursive: true }, (err) => {
|
||||
if (err) throw err;
|
@ -1,9 +1,9 @@
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const sass = require('node-sass');
|
||||
const utils = require('./utils');
|
||||
const utils = require('../utils');
|
||||
|
||||
const NODE_SASS_BASE_PATH = 'test/build/node-sass/';
|
||||
const NODE_SASS_BASE_PATH = 'test/node-sass/build/';
|
||||
|
||||
fs.mkdir(NODE_SASS_BASE_PATH, { recursive: true }, (err) => {
|
||||
if (err) throw err;
|
@ -4,8 +4,8 @@
|
||||
|
||||
TEST_DIR=$(dirname $BASH_SOURCE)
|
||||
FILES=$TEST_DIR/sass/*
|
||||
CSS_DIR=$TEST_DIR/build/ruby-sass
|
||||
CSS_FILES=$TEST_DIR/build/ruby-sass/*.css
|
||||
CSS_DIR=$TEST_DIR/build
|
||||
CSS_FILES=$TEST_DIR/build/*.css
|
||||
SASS_OPTIONS=--sourcemap=none
|
||||
|
||||
# FUNCTIONS
|
2
test/ruby-sass/sass/bulma.sass
vendored
Normal file
2
test/ruby-sass/sass/bulma.sass
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
@charset "utf-8"
|
||||
@import "../../../bulma"
|
@ -1,4 +1,4 @@
|
||||
@charset "utf-8"
|
||||
$red: #f60
|
||||
$blue: var(--blue)
|
||||
@import "../../bulma"
|
||||
@import "../../../bulma"
|
@ -26,12 +26,12 @@ $input-border-color: transparent;
|
||||
$input-shadow: none;
|
||||
|
||||
// Import only what you need from Bulma
|
||||
@import "../../sass/utilities/_all.sass";
|
||||
@import "../../sass/base/_all.sass";
|
||||
@import "../../sass/elements/button.sass";
|
||||
@import "../../sass/elements/container.sass";
|
||||
@import "../../sass/elements/title.sass";
|
||||
@import "../../sass/form/_all.sass";
|
||||
@import "../../sass/components/navbar.sass";
|
||||
@import "../../sass/layout/hero.sass";
|
||||
@import "../../sass/layout/section.sass";
|
||||
@import "../../../sass/utilities/_all.sass";
|
||||
@import "../../../sass/base/_all.sass";
|
||||
@import "../../../sass/elements/button.sass";
|
||||
@import "../../../sass/elements/container.sass";
|
||||
@import "../../../sass/elements/title.sass";
|
||||
@import "../../../sass/form/_all.sass";
|
||||
@import "../../../sass/components/navbar.sass";
|
||||
@import "../../../sass/layout/hero.sass";
|
||||
@import "../../../sass/layout/section.sass";
|
5
test/ruby-sass/sass/only-base.sass
Normal file
5
test/ruby-sass/sass/only-base.sass
Normal file
@ -0,0 +1,5 @@
|
||||
@charset "utf-8"
|
||||
@import "../../../sass/utilities/_all"
|
||||
@import "../../../sass/base/_all"
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
@charset "utf-8";
|
||||
|
||||
// Import the variables
|
||||
@import "../../sass/utilities/initial-variables.sass";
|
||||
@import "../../../sass/utilities/initial-variables.sass";
|
||||
|
||||
$blue: #00f;
|
||||
|
||||
@ -38,4 +38,4 @@ $spacing-vertical: null;
|
||||
$spacing-values: ("small": 10px, "medium": 30px, "large": 60px);
|
||||
|
||||
// Import the rest of Bulma
|
||||
@import "../../bulma";
|
||||
@import "../../../bulma";
|
2
test/sass/bulma.sass
vendored
2
test/sass/bulma.sass
vendored
@ -1,2 +0,0 @@
|
||||
@charset "utf-8"
|
||||
@import "../../bulma"
|
@ -1,5 +0,0 @@
|
||||
@charset "utf-8"
|
||||
@import "../../sass/utilities/_all"
|
||||
@import "../../sass/base/_all"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user