-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restricted dependencies to a specific subset of old packages that wor…
…k together.
- Loading branch information
Showing
6 changed files
with
60 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
DEVLOG | ||
==================================================================================================== | ||
|
||
This is a log for day-to-day development issues. It does not make | ||
very good reading, but is helpful for search & reference by the | ||
developers. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
-- WARNING: This file is generated from the .cabal file. | ||
module Intel.Cnc.Spec.Version where | ||
version = "0.1.3.108" | ||
builddate = "2011-01-26 20:45:05.358574 UTC" | ||
version = "0.2" | ||
builddate = "2011-08-11 20:36:57.60858 UTC" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env runhaskell | ||
{-# LANGUAGE ScopedTypeVariables #-} | ||
|
||
-- A simple script to extract the version number from the .cabal file and stick it in the code. | ||
|
||
import System.IO | ||
import Data.Time | ||
import HSH | ||
import HSH.ShellEquivs | ||
|
||
dubquote str = "\"" ++ str ++ "\"" | ||
|
||
main = do | ||
fh <- openFile "Intel/Cnc/Spec/Version.hs" WriteMode | ||
|
||
date <- getCurrentTime | ||
|
||
version_lines :: [String] <- run $ catFrom ["cnc-spec-compiler.cabal"] -|- grep "Version" | ||
let version = words (head version_lines) !! 1 | ||
|
||
--let version = "0.1.3.100" | ||
|
||
hPutStrLn fh$ "-- WARNING: This file is generated from the .cabal file." | ||
hPutStrLn fh$ "module Intel.Cnc.Spec.Version where" | ||
hPutStrLn fh$ "version = " ++ dubquote version | ||
hPutStrLn fh$ "builddate = " ++ dubquote (show date) | ||
|
||
hClose fh | ||
|