Add experimental neocities support
This commit is contained in:
parent
ee0879ef79
commit
dea672a13a
3 changed files with 16 additions and 7 deletions
6
setup.py
6
setup.py
|
@ -2,7 +2,11 @@ import os
|
|||
import variables
|
||||
|
||||
buildscript = open("build.sh","w")
|
||||
buildscript.write("#!/usr/bin/env bash && python3 colors.py\n\nrclone copy build " + variables.servername + ":" + variables.serverpath + " -P -L")
|
||||
buildscript.write("#!/usr/bin/env bash && python3 colors.py\n\n")
|
||||
if variables.neocities:
|
||||
buildscript.write("neocities push")
|
||||
else:
|
||||
buildscript.write("rclone copy build " + variables.servername + ":" + variables.serverpath + " -P -L")
|
||||
buildscript.close()
|
||||
|
||||
fontloc = open("build/font.css","w")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue