removed upload things from build script"
This commit is contained in:
parent
c54517e9cc
commit
71748a8b48
12
make
12
make
@ -1,13 +1,7 @@
|
||||
#!/bin/bash
|
||||
rootDir='./tmp/'
|
||||
rootDir='./site/'
|
||||
targetDir='post/'
|
||||
if [ -f .creds ]
|
||||
then
|
||||
source .creds
|
||||
url="https://$user:$pass@neocities.org/api/upload"
|
||||
fi
|
||||
|
||||
# auto tools should be able to fix this
|
||||
post() {
|
||||
echo Building: $1
|
||||
tmp=".swap"
|
||||
@ -62,7 +56,7 @@ then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
while getopts ":aslrhup:" opt;do
|
||||
while getopts ":aslrhp:" opt;do
|
||||
case "$opt" in
|
||||
a)
|
||||
build_all;;
|
||||
@ -85,8 +79,6 @@ while getopts ":aslrhup:" opt;do
|
||||
post $file
|
||||
done
|
||||
;;
|
||||
u)
|
||||
upload;; # this needs a proper fix according to api
|
||||
h)
|
||||
_help;;
|
||||
l)
|
||||
|
Loading…
Reference in New Issue
Block a user