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