Commit Graph
73 Commits
Author SHA1 Message Date
Ruslan Garipov 42c9b269f0 Make ``find'' scripts compatible w/ the Bourne sh
By default FreeBSD does not have the Bourne-again shell (Bash)
installed.  Therefore, the system fails to execute two ``find'' scripts
(etc/scripts/find-node and etc/scripts/find-yarn) running by the
Makefile within the `.node-bin` and `.yarn-bin` targets.

I see nothing Bash-specific in those scripts.  Also I believe that
`[[ expression ]]` commands in those particular cases can be safely
replaced with the `test` built-in commands.

With these changes I can now run a local ``Compiler explorer'' instance
on FreeBSD.

Signed-off-by: Ruslan Garipov <ruslanngaripov@gmail.com>
2019-01-31 20:24:00 +05:00
Matt Godbolt 05a34268c0 Another attempt at fixing gdc 2019-01-07 21:27:16 -06:00
Matt Godbolt 4b4d6df482 Attempt to fix travis build 2019-01-07 21:12:32 -06:00
Matt Godbolt ce979213a0 Fall back to rust 1.30 for travis 2018-11-29 08:00:03 -06:00
RabsRincon 1404d63002 * Add GCC 8.2 C version 2018-08-08 08:48:04 +02:00
RabsRincon ab93511390 Update CONTRIBUTORS.md & generator script 2018-08-03 05:14:21 +02:00
Nicole Mazzuca 21ee0dff1d fix the amazon*.properties files 2018-07-31 11:19:56 -07:00
RabsRincon 8154d83d60 Add contributorer.py script & update CONTRIBUTORS 2018-07-09 17:16:29 +02:00
RabsRincon 3ae56e48d5 Fix changeloger.py for msgs with marks in lines >1 2018-06-19 11:01:24 +02:00
RabsRincon 36c6f8b108 Prettify new changelog style based on suggestions 2018-06-08 01:03:33 +02:00
RabsRincon 98903223e4 Change changelog format by removing hash display 2018-06-07 03:27:44 +02:00
RabsRincon ce09f2c4ae Test automatic Travis changelog creation 2018-03-26 02:49:58 +02:00
RabsRincon 2b6ed8a82a Rename confusing variable 2018-03-25 21:37:14 +02:00
RabsRincon 0fd86262e5 Optimize imports and add copyright header 2018-03-25 21:34:34 +02:00
RabsRincon fac2f526b0 Use git to check for commits locally
Based on @jaredwy comments
2018-03-25 21:31:02 +02:00
RabsRincon 8398ed7cdf Make changelog creation a local script 2018-03-20 11:38:26 +01:00
RabsRincon e1d9737ce9 Make changelog creation a dist build step 2018-03-20 11:26:34 +01:00
RabsRincon 09b7202da9 Add minor fixes to docenizer
This does not change the output, but makes it more robust against
	different kinds of outputs/initial states.

Thanks again to @Ethiraric for all the effort that went into this!
2018-03-10 11:28:22 +01:00
Rubén 7629370e08 Merge pull request #785 from Ethiraric/master
Fix issue #784 - Fix `Jcc` assembler instructions documentation link
2018-03-10 11:25:26 +01:00
Ethiraric a2a2d9911a Call self_test in docenizer. 2018-03-09 20:53:52 +01:00
Ethiraric c68f79f479 Fix parsing of last instructions. 2018-03-09 20:46:14 +01:00
Ethiraric e0a14ba1d0 Fix docenizer HTML generation. 2018-03-09 17:04:15 +01:00
Ethiraric c4f1fb4bec Fix asm-docs html generation. 2018-03-08 15:04:02 +01:00
Ethiraric b66a08cef6 Edit docenizer strip regex.
Some instruction are prefixed by "NP", and others have "EVEX.*" instead
of "VEX.*".
2018-03-08 07:48:22 +01:00
Ethiraric f4a04c7c8c Exclude parsing of some unparsable files. 2018-03-08 07:47:31 +01:00
Ethiraric 4bad4f5a5b Update docenizer with new docs format. 2018-03-06 21:07:15 +01:00
Ethiraric 0e6f003f73 asm-doc archive is now tbz2. 2018-03-06 09:43:48 +01:00
Matt Godbolt d92ef4f2b6 Prevent creation of an empty .node-bin or .yarn-bin if the version check fails. Helps with #850 2018-03-05 08:14:17 -06:00
Ethiraric f250992dbf [WIP] Hacks to get around new page formatting. 2018-03-02 23:16:09 +01:00
Ethiraric c88dec2ac5 Remove only .html files when re-downloading. 2018-03-02 23:16:09 +01:00
Ethiraric 7cf8040123 Have program arguments for zip download. 2018-03-02 23:16:09 +01:00
Ethiraric d61227715d Don't copy URL with each instruction. 2018-03-02 23:16:09 +01:00
Ethiraric ee755898d7 Ensuring the docenizer produces valid URLs. 2018-03-02 23:16:09 +01:00
Ethiraric e4f3586372 Docenizer downloads archive if no input folder.
The docenizer will now download and extract the archive if no input
folder is specified. The extraction directory is currently hardcoded
into a variable (`ASMDOC_DIR`).
2018-03-02 23:16:09 +01:00
Ethiraric 94ed5af698 Make docenizer output linted code.
This is more a hack than anything else on the json generation.

The output from the docenizer on my machine is very different from the
already existed generated code.

The following changes were made:
 * Add 4 more spaces before the `case` and `return` statements.
 * Indent by default the json by 16 spaces. Since there is only one
   depth level, this effectively prefixes by 16 spaces all fields.
 * Replace json separators to remove trailing spaces.
 * Replace the last '}' of the json by a 12-spaces-indented line.
2018-03-02 23:16:09 +01:00
Ethiraric 3c90d6ccb3 Fix variable shadowing in docenizer.
The variable `name` was used incorrectly at several points in the
`parse` method. This results in the filename being overwritten by
instruction names and the function assigning wrong URLs.

I have removed the shadowing and explicited the different name
variables.
2018-03-02 23:16:09 +01:00
Ethiraric 0a4b1d24b6 Add shebang in docenizer.py. 2018-03-02 23:16:09 +01:00
RabsRincon 6ef87b5ef9 Fix copyright dates and normalize text 2018-02-27 14:58:21 +01:00
Matt Godbolt a0c4b28d7c Merge pull request #817 from mattgodbolt/install_yarn
Use a local-installed yarn. Refactor all the 'find node' stuff out of…
2018-02-16 07:02:07 -06:00
RabsRincon 1a8629bb33 Remove console check from pre-commit hook
ESLint does it for us
2018-02-13 15:03:21 +01:00
Matt Godbolt f8468e5d92 Use a local-installed yarn. Refactor all the 'find node' stuff out of the Makefile 2018-02-10 17:10:56 -06:00
RabsRincon cd4a21a7ed Fix tests 2018-02-03 14:37:49 +01:00
RabsRincon b2203dd737 Minor Python improvements 2018-01-24 10:17:42 +01:00
RabsRincon f13dfeff4a Ignore external contributions copyrights 2018-01-01 16:42:21 +01:00
Matt Godbolt c642ed3849 Merge branch 'master' into unification 2017-12-28 12:56:44 -06:00
RabsRincon e8a8c9e393 Add cpyrighter script
Automates the copyright stuff. It has been more of a Python exercise
	than anything else, but as it's actually useful, I'm pushing
2017-12-28 09:47:48 +01:00
Rubén def77233f9 Merge branch 'master' into unification 2017-12-11 20:16:37 +01:00
Matt Godbolt ebe7445786 Allow tests to console log 2017-12-11 07:41:42 -06:00
Matt Godbolt 89efa6f413 Extend linting to the tests 2017-12-11 07:41:23 -06:00
RabsRincon ef95efc4ce Further improve pre-commit hook 2017-12-11 09:20:12 +01:00