summaryrefslogtreecommitdiff
path: root/devmode.fish
diff options
context:
space:
mode:
authorWriterV2 <primary-v2@protonmail.com>2023-04-02 13:49:52 +0200
committerWriterV2 <primary-v2@protonmail.com>2023-04-02 13:49:52 +0200
commit5228d253c6f74857c8216de86b99682a9d51c1f9 (patch)
treec8f40d691e0c156e8d3300c06b9b75fd5031a9ba /devmode.fish
parentb76fd732de9a7e25711a98c543f3a139409802e5 (diff)
Remove script to adjust file paths for development (local http server a lot easier)
Diffstat (limited to 'devmode.fish')
-rw-r--r--devmode.fish12
1 files changed, 0 insertions, 12 deletions
diff --git a/devmode.fish b/devmode.fish
deleted file mode 100644
index 84cf68e..0000000
--- a/devmode.fish
+++ /dev/null
@@ -1,12 +0,0 @@
-set content "$(cat templates/base.html)"
-
-read -l -P "Devmode:"\n\t"on(1)"\n\t"off(0)"\n"> " devmode
-switch $devmode
- case 1
- set content $(string replace /style.css $(pwd)/docs/style.css $content)
- set content $(string replace /index.html $(pwd)/docs/index.html $content)
- set content $(string replace /stories.html $(pwd)/docs/stories.html $content)
- echo $content > $(pwd)/templates/base.html
- case 0
- git restore $(pwd)/templates/base.html
-end