Skip to content

Commit

Permalink
[#530] Update shell information to connect with readme files
Browse files Browse the repository at this point in the history
The changes primarily involve modifying the default.nix files in
govtool/frontend and scripts/govtool directories. Specifically, the
adjustments establish a connection between the shell messages and the
pertinent README.md files, offering developers immediate access to
additional insights and details related to the frontend development and
deployment processes, respectively. This enhancement facilitates a more
streamlined and informative user experience within the development
environment, aligning with the goal of ensuring consistent code style
throughout the backend project.
  • Loading branch information
placek committed Mar 26, 2024
1 parent 768e7f4 commit c4b8638
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion govtool/frontend/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ project.overrideAttrs (attrs: {
tput bold
warn "Welcome to GovTool!" 4
warn "This is a frontend development shell." 4
warn "Read the govtool/frontend/README.md to get more info about this module." 8
warn "Read the ${./README.md} to get more info about this module." 8
rm -rf ./node_modules
ln -s ${project.out}/libexec/voltaire-voting-app/node_modules ./node_modules
'';
Expand Down
2 changes: 1 addition & 1 deletion scripts/govtool/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pkgs.mkShell {
tput bold
warn "Welcome to GovTool!" 4
warn "This is a deployment shell." 4
warn "Read the scripts/govtool/README.md to get more info about the deployment processes." 8
warn "Read the ${./README.md} to get more info about the deployment processes." 8
case "''${ENVIRONMENT}" in
"dev")
warn "Your configuration is set to deploy to DEV environment, you are safe." 2
Expand Down

0 comments on commit c4b8638

Please sign in to comment.