A simple blogging platform with Haskell and Scotty
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.zsh 261B

  1. #!/bin/zsh
  2. rm -f .stack-work/install/**/bin/hablog;
  3. rm -r hablog;
  4. stack clean;
  5. stack build;
  6. mkdir -p hablog;
  7. cp -r static hablog;
  8. cp -r _pages hablog;
  9. cp -r _posts hablog;
  10. BIN=`echo .stack-work/install/**/hablog`
  11. cp $BIN hablog;
  12. tar czvf hablog.tar.gz hablog;