Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Apr 9, 2024
1 parent 67acf8f commit b1946b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,15 @@
];
};

packages.scaffold = pkgs.writeShellScriptBin "scaffold-profiles" ''
${inputs'.hc-infra.packages.scaffold-remote-zome}/bin/scaffold-remote-zome profiles --integrity-zome-name profiles_integrity --coordinator-zome-name profiles --remote-zome-git-url github:holochain-open-dev/profiles --remote-npm-package-name @holochain-open-dev/profiles --remote-npm-package-path ./ui
'';
packages.scaffold = pkgs.symlinkJoin {
name = "scaffold-remote-zome";
paths = [ inputs'.hc-infra.packages.scaffold-remote-zome ];
buildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/scaffold-remote-zome \
--add-flags "profiles --integrity-zome-name profiles_integrity --coordinator-zome-name profiles --remote-zome-git-url github:holochain-open-dev/profiles/nixify --remote-npm-package-name @holochain-open-dev/profiles --remote-npm-package-path ui"
'';
};
};
};
}
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"./locales/*": "./locales/*",
"./dist/*": "./dist/*"
},
"files": ["dist", "README.md", "locales"],
"files": ["dist", "README.md", "src", "locales"],
"scripts": {
"start": "vite --clearScreen false --port $UI_PORT",
"build": "npm run lint && tsc && npm run localize:build",
Expand Down

0 comments on commit b1946b1

Please sign in to comment.