Skip to content

Releases: MarcoDaniels/elm-aws-cloudfront

Nix derivation with uglifyjs

Choose a tag to compare

@MarcoDaniels MarcoDaniels released this 14 Jan 13:11
0b6f2fa

Use uglifyjs to minimise bundle on nix-build.

Nix derivation

Choose a tag to compare

@MarcoDaniels MarcoDaniels released this 08 Jan 20:24
f23878c

Nix derivation to build the application.

Import as:

cloudfront = pkgs.callPackage (pkgs.stdenv.mkDerivation {
    name = "elm-aws-cloudfront";
    src = fetchGit {
      url = "https://github.com/MarcoDaniels/elm-aws-cloudfront.git";
      ref = "refs/tags/nix-1.0.0";
    };
    installPhase = ''
      mkdir -p $out
      cp $src/default.nix $out
    '';
  }) { };

Run as:

cloudfront.buildElmAWSCloudFront {
  src = ../../.;
  elmSrc = ../../nix/elm-srcs.nix;
  elmRegistryDat = ../../nix/registry.dat;
  lambdas = [
    {
      module = ./src/MyModule.elm;
      flags = [ ''token:"token"'' ''url:"url"'' ];
    }
  ];
}

elm-aws-cloudfront first release

Choose a tag to compare

@MarcoDaniels MarcoDaniels released this 07 Jan 09:06
6540926
1.0.0

Add docs