website

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

build.sh (509B)


      1 #!/bin/bash
      2 set -u
      3 
      4 cd portfolio
      5 npm run build
      6 cd ..
      7 
      8 mv portfolio/dist .
      9 # if I didn't need to use a hash router:
     10 # mkdir dist/portfolio
     11 # mv dist/index.html dist/portfolio/index.html
     12 mv dist/index.html dist/portfolio.html
     13 cp -r assets dist/
     14 cp index.html dist/
     15 #cp Tom_Honour_Resume.pdf dist/
     16 #cp Send_multiple_videos_to_one_mpv_window_using_IPC_and_a_socket__re-upload_.mp4 dist/
     17 #cp Terminal_tab_over_words_and_copy_to_clipboard.mp4 dist/
     18 
     19 cd blog
     20 hugo
     21 mv public ../dist/blog
     22 cd ..
     23 
     24 cp -r stagit dist/git