mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-29 01:44:08 +03:00
king: Rename king
package to urbit-king
.
This commit is contained in:
parent
27c0750796
commit
6a450b93b9
@ -19,7 +19,7 @@ dependencies:
|
||||
- transformers
|
||||
- transformers-compat
|
||||
- unordered-containers
|
||||
- king
|
||||
- urbit-king
|
||||
|
||||
default-extensions:
|
||||
- ApplicativeDo
|
||||
|
@ -1,12 +1,12 @@
|
||||
resolver: lts-14.21
|
||||
|
||||
packages:
|
||||
- king
|
||||
- lmdb-static
|
||||
- proto
|
||||
- terminal-progress-bar
|
||||
- urbit-atom
|
||||
- urbit-azimuth
|
||||
- urbit-king
|
||||
|
||||
extra-deps:
|
||||
- flat-0.3.4@sha256:002a0e0ae656ea8cc02a772d0bcb6ea7dbd7f2e79070959cc748ad1e7138eb38
|
||||
@ -15,19 +15,12 @@ extra-deps:
|
||||
- urbit-hob-0.3.1@sha256:afbdc7ad071eefc6ca85f5b598b6c62ed49079d15d1840dac27438a3b3150303
|
||||
- para-1.1@sha256:a90eebb063ad70271e6e2a7f00a93e8e8f8b77273f100f39852fbf8301926f81
|
||||
|
||||
# This allows building on NixOS.
|
||||
nix:
|
||||
packages:
|
||||
- pkgconfig
|
||||
- zlib
|
||||
|
||||
flags:
|
||||
king:
|
||||
Release: false
|
||||
|
||||
# TODO: Why is this here?
|
||||
ghc-options:
|
||||
king: '-optP-Wno-nonportable-include-path'
|
||||
|
||||
# build:
|
||||
# executable-profiling: true
|
||||
# executable-stripping: false
|
||||
# library-profiling: true
|
||||
urbit-king: '-optP-Wno-nonportable-include-path'
|
||||
|
@ -96,7 +96,7 @@ headNote :: String -> Doc
|
||||
headNote _version = string $ intercalate "\n"
|
||||
[ "Urbit: a personal server operating function"
|
||||
, "https://urbit.org"
|
||||
, "Version " <> VERSION_king
|
||||
, "Version " <> VERSION_urbit_king
|
||||
]
|
||||
|
||||
-- | TODO This needs to be updated.
|
||||
@ -138,7 +138,7 @@ parseArgs = do
|
||||
defaultPillURL :: String
|
||||
defaultPillURL = "https://bootstrap.urbit.org/urbit-v" <> ver <> ".pill"
|
||||
where
|
||||
ver = VERSION_king
|
||||
ver = VERSION_urbit_king
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: king
|
||||
name: urbit-king
|
||||
version: 0.10.1
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
@ -19,10 +19,10 @@ library:
|
||||
- -O2
|
||||
|
||||
tests:
|
||||
king-tests:
|
||||
urbit-king-tests:
|
||||
source-dirs: test
|
||||
main: Main.hs
|
||||
dependencies: king
|
||||
dependencies: urbit-king
|
||||
ghc-options:
|
||||
- -threaded
|
||||
- -rtsopts
|
||||
@ -160,10 +160,11 @@ default-extensions:
|
||||
- ViewPatterns
|
||||
|
||||
executables:
|
||||
king:
|
||||
urbit-king:
|
||||
main: Main.hs
|
||||
source-dirs: app
|
||||
dependencies: ["king"]
|
||||
dependencies:
|
||||
- urbit-king
|
||||
when:
|
||||
- condition: flag(Release)
|
||||
then:
|
@ -73,7 +73,7 @@ goldenFile :: String -> String -> (FilePath -> IO L.ByteString) -> TestTree
|
||||
goldenFile testName testFileName action =
|
||||
goldenVsString testName gold (action pill)
|
||||
where
|
||||
root = "pkg/hs/king/test/gold" </> testFileName
|
||||
root = "pkg/hs/urbit-king/test/gold" </> testFileName
|
||||
gold = root <.> "gold"
|
||||
pill = root <.> "pill"
|
||||
|
Loading…
Reference in New Issue
Block a user