From 6597d08a3a034689207b2d1274ed31642e3f9edd Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Mon, 29 Aug 2022 15:44:02 +0100 Subject: [PATCH] Add RSS to the mix --- Cask | 17 ----------------- Makefile | 13 ++++--------- build.el | 4 +++- orgs/essays/my-new-programming-language.org | 1 + orgs/essays/transaction-variants.org | 1 + orgs/templates/blog.html | 2 +- 6 files changed, 10 insertions(+), 28 deletions(-) delete mode 100644 Cask diff --git a/Cask b/Cask deleted file mode 100644 index 9bae628..0000000 --- a/Cask +++ /dev/null @@ -1,17 +0,0 @@ -(source gnu) -(source melpa) - -(package-file "build.el") - -(development - (depends-on "f") - (depends-on "ecukes") - (depends-on "ert-runner") - (depends-on "el-mock")) - -(depends-on "mustache") -(depends-on "ht") -(depends-on "org") -(depends-on "ox-publish") -(depends-on "htmlize") -(depends-on "dracula-theme") \ No newline at end of file diff --git a/Makefile b/Makefile index 5fa32ec..7629890 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,15 @@ -deps: - cask clean: rm -rf build - rm -rf ./orgs/index.org ./orgs/categories/ ./orgs/tags/ - mkdir -p ./orgs/categories/ ./orgs/tags/ rm -rf `find . -iname "*~"` dev-build: - ./build.el + ./build.el :d docs build: clean - LXHOME_PROD=t ./build.el - + ./build.el docs serve: build - npx http-server -p 3003 ./build + npx http-server -p 3003 ./build/site-build deploy: clean build - rsync -vlcr --delete-after ./build/* core.lxsameer.com:/home/lxsameer/lxsameer.com/home/ + rsync -vlcr --delete-after ./build/site-build/* lxsameer@core.lxsameer.com:/home/lxsameer/lxsameer.com/home/ diff --git a/build.el b/build.el index 7576c25..781cdd0 100755 --- a/build.el +++ b/build.el @@ -50,11 +50,13 @@ PARAMS: (defproject lxsameer.com project-root (nth 2 command-line-args-left) docs-root "/orgs" + usage build/usage prod-base-url "https://lxsameer.com" docs-pages-dir "/essays" docs-actions '(copy-necessary-files) docs-ignore-category-check '("thoughts.org") - docs-title "lxsameer.com - The little nest of mine") + docs-title "lxsameer.com" + docs-desc "The little nest of mine") (defun copy-necessary-files (build-dir base-url) diff --git a/orgs/essays/my-new-programming-language.org b/orgs/essays/my-new-programming-language.org index d65695f..3a4b924 100644 --- a/orgs/essays/my-new-programming-language.org +++ b/orgs/essays/my-new-programming-language.org @@ -3,6 +3,7 @@ #+CATEGORY: Engineering #+DATE: 2019-11-25 #+TITLE: My new programming language +#+DESC: This is the story of my journey through the world of programming languages As a software engineer, one of my joys in life is to learn new things. I can't describe the pleasure of learning a new technology or stepping forward in the world of science. If you experienced diff --git a/orgs/essays/transaction-variants.org b/orgs/essays/transaction-variants.org index da9675c..08f1ba8 100644 --- a/orgs/essays/transaction-variants.org +++ b/orgs/essays/transaction-variants.org @@ -4,6 +4,7 @@ #+CATEGORY: Engineering #+DATE: 2019-04-26 #+TITLE: Transaction Variants +#+DESC: A quick overview of different transaction variants in a RDBM In this post I want to talk about different variants of [[https://en.wikipedia.org/wiki/Database_transaction][database transactions]], I assume you already know about database transactions. So, let's cut to the chase. diff --git a/orgs/templates/blog.html b/orgs/templates/blog.html index 2d12a8c..d470ea3 100644 --- a/orgs/templates/blog.html +++ b/orgs/templates/blog.html @@ -19,7 +19,7 @@