This commit is contained in:
Dmitry Zuikov 2024-03-25 15:07:52 +03:00
parent 2639e7d031
commit cb2f795555
10 changed files with 85 additions and 1 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ cabal.project.local
*.key *.key
.backup/ .backup/
.hbs2-git/state.db

6
.hbs2-git/config Normal file
View File

@ -0,0 +1,6 @@
;; hbs2-git config file
; those branches will be replicated by default
export include "refs/heads/master"
export include "refs/heads/main"
export exclude "refs/heads/*"
export tags

View File

@ -40,6 +40,7 @@ outputs = { self, nixpkgs, haskell-flake-utils, ... }@inputs:
"hbs2-keyman" "hbs2-keyman"
"hbs2-share" "hbs2-share"
"hbs2-fixer" "hbs2-fixer"
"hbs2-browser"
]; ];
in in
haskell-flake-utils.lib.simpleCabalProject2flake { haskell-flake-utils.lib.simpleCabalProject2flake {
@ -64,6 +65,7 @@ outputs = { self, nixpkgs, haskell-flake-utils, ... }@inputs:
"hbs2-share" = "./hbs2-share"; "hbs2-share" = "./hbs2-share";
"hbs2-git" = "./hbs2-git"; "hbs2-git" = "./hbs2-git";
"hbs2-fixer" = "./hbs2-fixer"; "hbs2-fixer" = "./hbs2-fixer";
"hbs2-browser" = "./hbs2-browser";
}; };
hpPreOverrides = {pkgs, ...}: final: prev: with pkgs; { hpPreOverrides = {pkgs, ...}: final: prev: with pkgs; {

View File

@ -0,0 +1,5 @@
# Revision history for hbs2-browser
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.

30
hbs2-browser/LICENSE Normal file
View File

@ -0,0 +1,30 @@
Copyright (c) 2024, Dmitry Zuikov
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Dmitry Zuikov nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

File diff suppressed because one or more lines are too long

4
hbs2-browser/css/pico.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,30 @@
cabal-version: 3.0
name: hbs2-browser
version: 0.24.1.0
-- synopsis:
-- description:
license: BSD-3-Clause
license-file: LICENSE
author: Dmitry Zuikov
maintainer: dzuikov@gmail.com
-- copyright:
category: Web
build-type: Simple
extra-doc-files: CHANGELOG.md
-- extra-source-files:
common warnings
ghc-options: -Wall
library
import: warnings
exposed-modules:
HBS2.Peer.Browser.Assets
-- other-modules:
-- other-extensions:
build-depends: base, file-embed
hs-source-dirs: lib
default-language: GHC2021

View File

@ -0,0 +1 @@
module HBS2.Peer.Browser.Assets where

View File

@ -278,7 +278,7 @@ executable hbs2-peer
, Paths_hbs2_peer , Paths_hbs2_peer
-- other-extensions: -- other-extensions:
build-depends: base, hbs2-peer, hbs2-keyman, vty build-depends: base, hbs2-peer, hbs2-keyman, hbs2-browser, vty
hs-source-dirs: app hs-source-dirs: app