Atom Build provider for postcss/sugarss
, compiles SugarSS. Supports the linter package for error highlighting.
Install build-sugarss
from Atom's Package Manager or the command-line equivalent:
$ apm install build-sugarss
Change to your Atom packages directory:
# Windows$ cd %USERPROFILE%\.atom\packages# Linux & macOS$ cd ~/.atom/packages/
Clone repository as build-sugarss
:
$ git clone https://github.com/idleberg/atom-build-sugarss build-sugarss
Inside the cloned directory, install Node dependencies:
$ yarn || npm install
Before you can build, select an active target with your preferred build option.
Available targets:
SugarSS
— compile scriptSugarSS --map
— compile script and create a mapSugarSS --watch
— compile script and keep watchingSugarSS --map --watch
— compile script, create a map and keep watchingThe name of the output file can be overridden in your config.cson
, all standard replacements can be used:
"build-sugarss":outputFile: "{FILE_ACTIVE_NAME_BASE}.css"
Here's a reminder of the default shortcuts you can use with this package:
Select active target
Cmd+Alt+T or F7
Build script
Cmd+Alt+B or F9
Jump to error
Cmd+Alt+G or F4
Toggle build panel
Cmd+Alt+V or F8
This work is licensed under the The MIT License.
You are welcome support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.