mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 20:17:42 +00:00
* complete removal of web folder, fixes #9304 * remove `buildJS`
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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"))
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user