Skip to content

Commit

Permalink
169 experimental loader to register (#186)
Browse files Browse the repository at this point in the history
* merge into package.json

* drop --require

* streamline mocha invocation

* release v0.5.10

* update version
  • Loading branch information
drernie authored Oct 9, 2023
1 parent 0d48241 commit 6478cd5
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 18 deletions.
7 changes: 0 additions & 7 deletions .mocharc.json

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Homiconic C
version: 0.5.9
version: 0.5.10

[![Codeship Status for TheSwanFactory/hclang](https://app.codeship.com/projects/b1198f30-aee9-0137-5fdc-4a1003a17a1c/status?branch=master)](https://app.codeship.com/projects/362584)

Expand Down
2 changes: 1 addition & 1 deletion doc/BitScheme.html
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ <h2 id="_next_steps">Next Steps</h2>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-10-08 17:21:32 -0700
Last updated 2023-10-08 21:46:40 -0700
</div>
</div>
</body>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hclang",
"version": "0.5.9",
"version": "0.5.10",
"description": "Homoiconic C: Programming without a Language",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -30,8 +30,11 @@
"bin": {
"hc": "lib/src/cli/hc.js"
},
"watch": {
"test": "{src,test}/*.js"
"mocha": {
"extension": "ts",
"loader": "ts-node/esm",
"recursive": true,
"trace-warnings": false
},
"scripts": {
"bs:html": "tail +3 -q hc/BitScheme.hc hc/BitScheme-1.hc > doc/BitScheme.adoc && asciidoctor doc/BitScheme.adoc && open doc/BitScheme.html",
Expand All @@ -43,12 +46,12 @@
"check": "grep -e 'only' -e 'skip' test/*/* || echo 'Ran all tests'",
"clean": "rimraf lib dist && rm -f *.log.* src/*.js src/*/*.js test/*.js test/*/*.js",
"clean-git": "git branch -D `git branch --merged | grep -v '\\*' | grep -v 'master'`",
"debug": "echo 'Use `debugger;`\n' && mocha --inspect-brk --require ts-node/register --recursive test/**/*-spec.ts",
"debug": "echo 'Use `debugger;`\n' && npm --inspect-brk ",
"done": "npm run clean && npm run bs:all && npm run check && npm run tag && npm install && git commit -am 'update version'",
"lint": "eslint --fix \"{src,test}/**/*.ts\"",
"hc": "node lib/src/cli/hc.js",
"test": "npm run build && mocha --require ts-node/register test/**/*.*ts",
"test-only": "mocha --require ts-node/register test/**/*.*ts",
"test": "npm run build && mocha",
"test-only": "mocha",
"tag": "bump patch -ct package*.json README.md src/version.ts",
"tag:minor": "bump minor -ct package*.json README.md src/version.ts",
"ts": "npx tsc --pretty --inlineSourceMap && chmod a+x ./lib/src/cli/hc.js",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// generated by genversion
export const version = '0.5.9'
export const version = '0.5.10'

0 comments on commit 6478cd5

Please sign in to comment.