chore: compile CSS into lib/gui/css (#1002)

We currently compile CSS into `build/css`, however we plan to use
node-gyp in this project, which can't be configured to build to a
directory other than `build`, therefore, the compiled CSS must move
somewhere else.

Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
Juan Cruz Viotti 2017-01-06 15:55:07 -04:00 committed by GitHub
parent 050d187e6f
commit 404eeffbeb
4 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ APPLICATION_VERSION = $(shell jq -r '.version' package.json)
APPLICATION_COPYRIGHT = $(shell jq -r '.copyright' package.json)
APPLICATION_CATEGORY = public.app-category.developer-tools
APPLICATION_BUNDLE_ID = io.resin.etcher
APPLICATION_FILES = lib,build,assets
APPLICATION_FILES = lib,assets
# ---------------------------------------------------------------------
# Operating system and architecture detection

View File

@ -3,7 +3,7 @@
<head>
<title>Etcher</title>
<link rel="stylesheet" type="text/css" href="../../node_modules/flexboxgrid/dist/flexboxgrid.css">
<link rel="stylesheet" type="text/css" href="../../build/css/main.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/desktop.css">
<link rel="stylesheet" type="text/css" href="css/angular.css">

View File

@ -12,7 +12,7 @@
},
"scripts": {
"test": "npm run lint && electron-mocha --recursive --renderer tests/gui -R min && electron-mocha --recursive tests/cli tests/shared -R min",
"sass": "node-sass ./lib/gui/scss/main.scss > build/css/main.css",
"sass": "node-sass ./lib/gui/scss/main.scss > ./lib/gui/css/main.css",
"jslint": "eslint lib tests scripts bin versionist.conf.js",
"scsslint": "scss-lint lib/gui/scss",
"lint": "npm run jslint && npm run scsslint",