Skip to content

Commit

Permalink
Update web-common
Browse files Browse the repository at this point in the history
The packaging files in web-common were completely redundant as the
nix-build only copied all files to $out and nothing ever processed
package.json or the spago/purescript files.
  • Loading branch information
gilligan committed Nov 24, 2020
1 parent bc3fd2e commit 8a2f2a2
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 1,783 deletions.
2 changes: 1 addition & 1 deletion default.nix
Expand Up @@ -36,7 +36,7 @@ rec {
plutus-atomic-swap
plutus-pay-to-wallet;

webCommon = import ./web-common { inherit lib; };
webCommon = pkgs.callPackage ./web-common { };

plutus-playground = pkgs.recurseIntoAttrs rec {
tutorial = docs.site;
Expand Down
12 changes: 1 addition & 11 deletions web-common/default.nix
@@ -1,11 +1 @@
{ lib }:
let
excludes = [ ".spago" ".spago2nix" "generated" "generated-docs" "output" "dist" "node_modules" ".psci_modules" ".vscode" ];
in
lib.cleanSourceWith {
filter = lib.cleanSourceFilter;
src = lib.cleanSourceWith {
filter = (path: type: !(lib.elem (baseNameOf path) excludes));
src = ./.;
};
}
{ lib, nix-gitignore }: nix-gitignore.gitignoreSource [ ] ./.
13 changes: 0 additions & 13 deletions web-common/package.json

This file was deleted.

186 changes: 0 additions & 186 deletions web-common/packages.dhall

This file was deleted.

0 comments on commit 8a2f2a2

Please sign in to comment.