mirror of
https://github.com/papercss/papercss
synced 2024-06-02 14:02:34 +02:00
17 lines
450 B
JavaScript
17 lines
450 B
JavaScript
// Copyright (c) 2012 Titanium I.T. LLC. All rights reserved. See LICENSE.txt for details.
|
|
|
|
// A cross-platform mechanism for determining how to run the build.
|
|
(function() {
|
|
"use strict";
|
|
|
|
var UNIX_BUILD_COMMAND = "./jake.sh";
|
|
var WINDOWS_BUILD_COMMAND = "jake.bat";
|
|
|
|
var os = require("os");
|
|
|
|
exports.get = function() {
|
|
return os.platform() === "win32" ? WINDOWS_BUILD_COMMAND : UNIX_BUILD_COMMAND;
|
|
//return WINDOWS_BUILD_COMMAND;
|
|
};
|
|
|
|
}()); |