complete removal of web folder, fixes #9304 (#9310)

* complete removal of web folder, fixes #9304

* remove `buildJS`
This commit is contained in:
Miran
2018-10-12 17:27:04 +02:00
committed by Andreas Rumpf
parent 7f18d7cbc1
commit c492a7fd83
4 changed files with 1 additions and 7 deletions

View File

@@ -131,7 +131,6 @@ you should familiarize yourself with the following repository structure:
* ``tests/`` - contains categorized tests for the compiler and standard library.
* ``tools/`` - the tools including ``niminst`` and ``nimweb`` (mostly invoked via
``koch``).
* ``web/`` - [the Nim website][nim-site].
* ``koch.nim`` - tool used to bootstrap Nim, generate C sources, build the website,
and generate the documentation.

View File

@@ -323,7 +323,7 @@ proc buildPdfDoc*(nimArgs, destPath: string) =
removeFile(changeFileExt(d, "tex"))
proc buildJS() =
exec(findNim() & " js -d:release --out:$1 web/nimblepkglist.nim" %
exec(findNim() & " js -d:release --out:$1 tools/nimblepkglist.nim" %
[webUploadOutput / "nimblepkglist.js"])
exec(findNim() & " js " & (docHackDir / "dochack.nim"))

View File

@@ -445,10 +445,6 @@ proc buildNewsRss(c: var TConfigData, destPath: string) =
generateRss(destFilename, parseNewsTitles(srcFilename))
proc buildJS(c: TConfigData) =
exec(findNim(c) & " js -d:release --out:$1 web/nimblepkglist.nim" %
[c.webUploadOutput / "nimblepkglist.js"])
proc readSponsors(sponsorsFile: string): seq[Sponsor] =
result = @[]
var fileStream = newFileStream(sponsorsFile, fmRead)
@@ -528,7 +524,6 @@ proc onlyDocs(c: var TConfigData) =
proc main(c: var TConfigData) =
buildWebsite(c)
buildJS(c)
let docup = c.webUploadOutput / NimVersion
createDir(docup)
buildAddDoc(c, docup)