Esempio n. 1
0
 /**
  * get version
  *
  * @static
  * @return string
  */
 public static function getVersion()
 {
     if (null === self::$_version) {
         self::$_version = trim(`hg parent | grep tag: | awk '{print(\$2)}'`);
     }
     return self::$_version;
 }
Esempio n. 2
0
 /**
  * get stylesheet build files
  *
  * @throws Core_Exception
  * @return string
  */
 public function getStylesheetBuild()
 {
     if (null === $this->_stylesheetBuild) {
         $this->_stylesheetBuild = rtrim($this->getBuildDir(), '/') . '/' . 'build-' . Core_Version::getVersion() . '.css';
     }
     return $this->_stylesheetBuild;
 }
Esempio n. 3
0
 /**
  * get version
  *
  * @return string
  */
 public function version()
 {
     return Core_Version::getVersion();
 }