Skip to content

Instantly share code, notes, and snippets.

@samlinux
Created March 17, 2022 09:32
Show Gist options
  • Save samlinux/1a89158f52736a557e24ba4908d50436 to your computer and use it in GitHub Desktop.
Save samlinux/1a89158f52736a557e24ba4908d50436 to your computer and use it in GitHub Desktop.
Angular meets Internet Computer
#!/bin/bash
# make a production build
ng build
# remove old builds
rm ../backend/dist/*
# copy the builded application to its destination
cp dist/frontend/* ../backend/dist/
# set some execution rights
chmod 755 build.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment