mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-20 06:47:15 +03:00
stub out unison-share-projects-api package
This commit is contained in:
parent
6d4114b76e
commit
5eb855a13f
3
hie.yaml
3
hie.yaml
@ -117,6 +117,9 @@ cradle:
|
||||
- path: "unison-share-api/src"
|
||||
component: "unison-share-api:lib"
|
||||
|
||||
- path: "unison-share-projects-api/src"
|
||||
component: "unison-share-projects-api:lib"
|
||||
|
||||
- path: "unison-syntax/src"
|
||||
component: "unison-syntax:lib"
|
||||
|
||||
|
@ -16,6 +16,7 @@ packages:
|
||||
- unison-cli
|
||||
- unison-hashing-v2
|
||||
- unison-share-api
|
||||
- unison-share-projects-api
|
||||
- unison-syntax
|
||||
- codebase2/codebase
|
||||
- codebase2/codebase-sqlite
|
||||
|
10
unison-share-projects-api/README.md
Normal file
10
unison-share-projects-api/README.md
Normal file
@ -0,0 +1,10 @@
|
||||
The Project-related part of the Share API.
|
||||
|
||||
Ultimately this package should just be folded into one package that defines the entire Servant API for a
|
||||
Share-compatible server to implement.
|
||||
|
||||
However, that package should (probably) be called `unison-share-api`, which, at the time of writing (Jan 2023),
|
||||
has a ton of non-Share-API related modules and functionality in it.
|
||||
|
||||
So rather than rename it, or rip modules out, or anything like that, we decided to make this new package, which should
|
||||
be deleted eventually.
|
46
unison-share-projects-api/package.yaml
Normal file
46
unison-share-projects-api/package.yaml
Normal file
@ -0,0 +1,46 @@
|
||||
name: unison-share-projects-api
|
||||
github: unisonweb/unison
|
||||
copyright: Copyright (C) 2013-2023 Unison Computing, PBC and contributors
|
||||
|
||||
library:
|
||||
source-dirs: src
|
||||
when:
|
||||
- condition: false
|
||||
other-modules: Paths_unison_share_projects_api
|
||||
|
||||
dependencies:
|
||||
- base
|
||||
- servant-server
|
||||
|
||||
ghc-options:
|
||||
-Wall
|
||||
|
||||
default-extensions:
|
||||
- BlockArguments
|
||||
- ConstraintKinds
|
||||
- DeriveAnyClass
|
||||
- DeriveFunctor
|
||||
- DeriveGeneric
|
||||
- DerivingStrategies
|
||||
- DerivingVia
|
||||
- DoAndIfThenElse
|
||||
- DuplicateRecordFields
|
||||
- FlexibleContexts
|
||||
- FlexibleInstances
|
||||
- GADTs
|
||||
- GeneralizedNewtypeDeriving
|
||||
- KindSignatures
|
||||
- LambdaCase
|
||||
- MultiParamTypeClasses
|
||||
- NamedFieldPuns
|
||||
- NumericUnderscores
|
||||
- OverloadedStrings
|
||||
- PatternSynonyms
|
||||
- RankNTypes
|
||||
- ScopedTypeVariables
|
||||
- StandaloneDeriving
|
||||
- TupleSections
|
||||
- TypeApplications
|
||||
- TypeOperators
|
||||
- ViewPatterns
|
||||
|
@ -0,0 +1,3 @@
|
||||
module Unison.Share.API.Projects where
|
||||
|
||||
import Servant
|
55
unison-share-projects-api/unison-share-projects-api.cabal
Normal file
55
unison-share-projects-api/unison-share-projects-api.cabal
Normal file
@ -0,0 +1,55 @@
|
||||
cabal-version: 1.12
|
||||
|
||||
-- This file has been generated from package.yaml by hpack version 0.34.4.
|
||||
--
|
||||
-- see: https://github.com/sol/hpack
|
||||
|
||||
name: unison-share-projects-api
|
||||
version: 0.0.0
|
||||
homepage: https://github.com/unisonweb/unison#readme
|
||||
bug-reports: https://github.com/unisonweb/unison/issues
|
||||
copyright: Copyright (C) 2013-2023 Unison Computing, PBC and contributors
|
||||
build-type: Simple
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/unisonweb/unison
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
Unison.Share.API.Projects
|
||||
hs-source-dirs:
|
||||
src
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
ConstraintKinds
|
||||
DeriveAnyClass
|
||||
DeriveFunctor
|
||||
DeriveGeneric
|
||||
DerivingStrategies
|
||||
DerivingVia
|
||||
DoAndIfThenElse
|
||||
DuplicateRecordFields
|
||||
FlexibleContexts
|
||||
FlexibleInstances
|
||||
GADTs
|
||||
GeneralizedNewtypeDeriving
|
||||
KindSignatures
|
||||
LambdaCase
|
||||
MultiParamTypeClasses
|
||||
NamedFieldPuns
|
||||
NumericUnderscores
|
||||
OverloadedStrings
|
||||
PatternSynonyms
|
||||
RankNTypes
|
||||
ScopedTypeVariables
|
||||
StandaloneDeriving
|
||||
TupleSections
|
||||
TypeApplications
|
||||
TypeOperators
|
||||
ViewPatterns
|
||||
ghc-options: -Wall
|
||||
build-depends:
|
||||
base
|
||||
, servant-server
|
||||
default-language: Haskell2010
|
Loading…
Reference in New Issue
Block a user