#1 Le 15/08/2012, à 20:38
- Maisondouf
sass et compass, où est l'interface gragphique ???
J'ai installé ruby-compass pour tester et malgré ce que dit synaptic :
Compass is a CSS authoring framework which uses the Sass stylesheet
Je cherche toujours le fameux 'framework' !!
compass répond en ligne de commande
papounet@amd8papou:~/Develop/sass$ compass -h
Usage: compass help [command]
Description:
The Compass Stylesheet Authoring Framework helps you
build and maintain your stylesheets and makes it easy
for you to use stylesheet libraries provided by others.
Donating:
Compass is charityware. If you find it useful please make
a tax deductable donation: http://umdf.org/compass
To get help on a particular command please specify the command.
Primary Commands:
* clean - Remove generated files and the sass cache
* compile - Compile Sass stylesheets to CSS
* create - Create a new compass project
* init - Add compass to an existing project
* watch - Compile Sass stylesheets to CSS when they change
Other Commands:
* config - Generate a configuration file for the provided command line options.
* frameworks - List the available frameworks
* grid-img - Generates a grid background image.
* help - Get help on a compass command or extension
* imports - Emit an imports suitable for passing to the sass command-line.
* install - Install an extension's pattern into your compass project
* interactive - Interactively evaluate SassScript
* sprite - Generate an import for your sprites.
* stats - Report statistics about your stylesheets
* unpack - Copy an extension into your extensions folder.
* validate - Validate your generated css.
* version - Print out version information
Available Frameworks & Patterns:
* blueprint
- blueprint/buttons - Button Plugin
- blueprint/basic - A basic blueprint install that mimics the actual blueprint css.
- blueprint/semantic - The blueprint framework for use with semantic markup.
- blueprint/project - The blueprint framework.
- blueprint/link_icons - Icons for common types of links
* compass
- compass/ellipsis - Plugin for cross-browser ellipsis truncated text.
- compass/project - The default project layout.
- compass/extension - Generate a compass extension.
- compass/pie - Integration with http://css3pie.com/
* fancy-buttons
- fancy-buttons/project
* layoutgala
- layoutgala/project - Layout Gala: 40 CSS base layouts for same HTML markup
Global Options:
-r, --require LIBRARY Require the given ruby LIBRARY before running commands.
This is used to access compass plugins without having a
project configuration file.
-l, --load FRAMEWORK_DIR Load the framework or extensions found in the FRAMEWORK directory.
-L, --load-all FRAMEWORKS_DIR Load all the frameworks or extensions found in the FRAMEWORKS_DIR directory.
-q, --quiet Quiet mode.
--trace Show a full stacktrace on error
--force Allows some failing commands to succeed instead.
--dry-run Dry Run. Tells you what it plans to do.
--boring Turn off colorized output.
-?, -h, --help Show this message
papounet@amd8papou:~/Develop/sass$
mais rien ne se lance quand je tape ' compass' tout seul...
J'ai l'impression de ne pas avoir compris ce qu'était compass, je pensais à un framework genre Netbeans ou Eclipse
Est ce que quelqu'un peut m'éclairer svp.
ASUS M5A88-v EVO avec AMD FX(tm)-8120 Eight-Core Processor, OS principal Precise 12.04.1 LTS 63bits½
Bricoleur, menteur, inculte, inadapté social et mythomane, enfin d'après certains....
"the secret of my form is summed up in two words, no sport" (Winston Churchill)
Hors ligne
#2 Le 15/08/2012, à 22:34
- HP
Re : sass et compass, où est l'interface gragphique ???
J'ai l'impression de ne pas avoir compris ce qu'était compass, je pensais à un framework genre Netbeans ou Eclipse
Si tu Netmeans et Eclimse sont des IDE… ne pas confondre !
cat /dev/urandom >/dev/null 2>&1 #github
Hors ligne
#3 Le 28/08/2012, à 20:56
- R-transat
Re : sass et compass, où est l'interface gragphique ???
En effet tu n'as pas compris ce qu'est Compass. Pour commencer il s'agit bien d'un framework comme tu l'as dis mais par contre ce n'est pas "un framework comme Netbeans et Eclipse" pour le coup tu te plantes complètement, Netbeans et Eclipse sont des IDE (Environnement de Développement).
Donc Compass est un framework mais pour le langage SASS (comme jQuery est un framework/bibliothèque du JS, Symfony/CakePHP/Zend Framework pour PHP, etc).
En gros il ajoute ce que l'on appelle des mixin prédéfini pour travailler encore plus vite avec SASS et bien d'autres choses, comme la création de sprites à partir d'image .
Pour plus d'information voila un peu de lecture
http://sass-lang.com/
http://thesassway.com/
http://compass-style.org/
Hors ligne