Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions rescript-ecosystem/packages/tooling/evangeliser/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-License-Identifier: PMPL-1.0-or-later
# RSR-compliant .gitignore

# OS & Editor
Expand Down Expand Up @@ -44,6 +44,7 @@ erl_crash.dump
*.res.js
*.bs.js
.merlin
!/test/run_all.js

# Deno
deno.lock
Expand All @@ -57,7 +58,9 @@ __pycache__/
# Ada/SPARK
*.ali
/obj/
/bin/

# CLI entry point (track this, even though it's JS)
!/bin/evangeliser.js

# Haskell
/.stack-work/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env -S deno run --allow-read --allow-env
// SPDX-License-Identifier: PMPL-1.0-or-later
// Entry point for the rescript-evangeliser CLI
// Imports and runs the compiled ReScript CLI module

import "../src/Cli.res.js";
28 changes: 10 additions & 18 deletions rescript-ecosystem/packages/tooling/evangeliser/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,20 @@
"$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
"name": "@hyperpolymath/rescript-evangeliser",
"version": "0.1.0",
"license": "MIT OR Palimpsest-0.8",
"license": "PMPL-1.0-or-later",
"tasks": {
"build": "deno run -A scripts/build.ts",
"build:rescript": "deno run -A npm:rescript build",
"clean": "deno run -A scripts/clean.ts",
"build": "deno run -A npm:rescript build",
"build:watch": "deno run -A npm:rescript build -w",
"clean": "deno run -A npm:rescript clean",
"lint": "deno lint",
"fmt": "deno fmt",
"check": "deno check scripts/*.ts",
"validate": "deno run -A scripts/validate.ts",
"test": "deno test --allow-read",
"pre-commit": "deno task lint && deno task fmt --check && deno task validate"
"test": "deno run --allow-read --allow-env test/run_all.js",
"pre-commit": "deno task lint && deno task fmt --check"
},
"imports": {
"@std/fs": "jsr:@std/fs@^1",
"@std/path": "jsr:@std/path@^1",
"@std/assert": "jsr:@std/assert@^1",
"rescript": "^12.0.0"
},
"compilerOptions": {
"strict": true,
"noImplicitAny": true
"rescript": "npm:rescript@^12.0.0",
"@rescript/core": "npm:@rescript/core@^1.6.1",
"@rescript/runtime/": "npm:/@rescript/runtime@12.2.0/"
},
"fmt": {
"useTabs": false,
Expand All @@ -31,10 +24,9 @@
"semiColons": false,
"singleQuote": false,
"proseWrap": "preserve",
"include": ["scripts/", "src/"]
"include": ["src/"]
},
"lint": {
"include": ["scripts/"],
"rules": {
"tags": ["recommended"]
}
Expand Down
8 changes: 4 additions & 4 deletions rescript-ecosystem/packages/tooling/evangeliser/justfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# justfile for ReScript Evangeliser
# https://github.com/casey/just
# SPDX-License-Identifier: MIT OR Palimpsest-0.8
# SPDX-License-Identifier: PMPL-1.0-or-later
#
# Per Hyperpolymath policy:
# - Use Deno, not npm/bun
Expand All @@ -21,7 +21,7 @@ build:
# Build in watch mode
watch:
@echo "👀 Watching for changes..."
npx rescript build -w
deno run -A npm:rescript build -w

# Clean build artifacts
clean:
Expand All @@ -41,7 +41,6 @@ rebuild: clean-all setup build
# Install dependencies
install:
@echo "📦 Installing dependencies..."
deno cache scripts/*.ts
deno install

# First-time setup
Expand Down Expand Up @@ -72,7 +71,8 @@ test:
# Run full validation
validate:
@echo "🔍 Validating project..."
deno task validate
@just validate-structure
@just validate-policy

# Validate RSR compliance
validate-rsr:
Expand Down
13 changes: 8 additions & 5 deletions rescript-ecosystem/packages/tooling/evangeliser/rescript.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
{
"name": "rescript-evangeliser",
"version": "0.1.0",
"sources": [
{
"dir": "src",
"subdirs": true
},
{
"dir": "test",
"subdirs": true,
"type": "dev"
}
],
"package-specs": [
{
"module": "es6",
"module": "esmodule",
"in-source": true
}
],
"suffix": ".res.js",
"bs-dependencies": [
"dependencies": [
"@rescript/core"
],
"warnings": {
"number": "+a-4-9-27-40-42-48-50-61-102-109"
},
"uncurried": true
}
}
60 changes: 0 additions & 60 deletions rescript-ecosystem/packages/tooling/evangeliser/scripts/build.ts

This file was deleted.

68 changes: 0 additions & 68 deletions rescript-ecosystem/packages/tooling/evangeliser/scripts/clean.ts

This file was deleted.

Loading
Loading