Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Build: Centralises binary naming conventions (build changes part 2) #743

Merged
merged 4 commits into from
Mar 11, 2015

Commits on Mar 10, 2015

  1. Build: Centralises binary naming conventions.

    * Delivers binary name, paths and download URL
      from lib/extensions.js.
    
    * Allows user to set binary name as environment
      variable with `SASS_BINARY_NAME`.
      * Note: this will supersede default name.
    * Allows user to set binary name as in package
      file `"nodeSassConfig": { "binary-name": "" }`.
      * Note: this will supersede default name and
        `SASS_BINARY_NAME` environment variable.
    * Allows user to set binary name as parameter to
      invoke any node-sass script with
      `--binary-name` flag.
      * Note: this will supersede default name, name
        defined in package `nodeSassConfig` as well
        as the `SASS_BINARY_NAME` environment
        variable.
    
    * This binary name will be used to construct the:
      * Binary path.
      * Binary download URL.
      * Upload URL.
    
    * Allows user to set binary path as environment
      variable with `SASS_BINARY_PATH`.
      * Note: this will supersede default path.
    * Allows user to set binary name as in package
      file `"nodeSassConfig": { "binary-path": "" }`.
      * Note: this will supersede default path and
        `SASS_BINARY_PATH` environment variable.
    * Allows user to set binary path as parameter to
      invoke any node-sass script with
      `--binary-path` flag.
      * Note: this will supersede default path, path
        as well as the `SASS_BINARY_PATH` environment
        variable.
    
    * This binary path will be used when:
      * Requiring node-sass package.
      * Downloading binary.
      * Uploading binary.
    
    * Wraps all extensions in `process.sass`
      namespace.
    
    Issue URL: sass#712.
    PR URL: sass#743.
    am11 committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    bed6041 View commit details
    Browse the repository at this point in the history
  2. Build: Uses modules version instead of v8.

    * Pointed out by @saper via sass#694.
    
    PR URL: sass#743.
    am11 committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    77b0108 View commit details
    Browse the repository at this point in the history
  3. Test: Add tests for extensions.

    PR URL: sass#743.
    am11 committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    24f1855 View commit details
    Browse the repository at this point in the history
  4. Package: Bumps nan version.

    am11 committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    ddaea3c View commit details
    Browse the repository at this point in the history