Skip to content

Commit

Permalink
complete removal of web folder, fixes nim-lang#9304
Browse files Browse the repository at this point in the history
  • Loading branch information
narimiran committed Oct 11, 2018
1 parent 00c4aba commit 9a6b108
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion tools/kochdocs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tools/nimweb.nim
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ 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" %
exec(findNim(c) & " js -d:release --out:$1 tools/nimblepkglist.nim" %
[c.webUploadOutput / "nimblepkglist.js"])

proc readSponsors(sponsorsFile: string): seq[Sponsor] =
Expand Down

0 comments on commit 9a6b108

Please sign in to comment.