Skip to content

Commit

Permalink
Cleanup a few configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
tmattio committed Jan 12, 2020
1 parent ec587da commit e380951
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</p>

<div align="center">
<img src="./docs/demo.svg" alt="Demo">
<img src="docs/demo.svg" alt="Demo">
</div>

## Features
Expand Down
17 changes: 9 additions & 8 deletions esy.lock/index.json

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

13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
"description": "Project scaffolding tool and set of templates for Reason and OCaml.",
"author": "Thibaut Mattio",
"homepage": "https://github.com/tmattio/spin",
"repository": {
"type": "git",
"url": "https://github.com/tmattio/spin.git"
},
"esy": {
"build": "dune build -p #{self.name}",
"buildDev": "refmterr dune build -p #{self.name}",
"buildsInSource": "_build",
"release": {
"bin": {
"spin": "spin.exe"
}
}
"buildsInSource": "_build"
},
"buildDirs": {
"test": {
Expand Down Expand Up @@ -109,7 +108,7 @@
"@opam/merlin": "*",
"@opam/odoc": "*",
"@opam/utop": "*",
"@pesy/esy-pesy": "esy/pesy#5c6e1c3",
"@pesy/esy-pesy": "0.1.0-alpha.5",
"refmterr": "*"
},
"resolutions": {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions scripts/record-demo.sh → scripts/demo-record.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ TEMP_DIR=$(mktemp -d -t spin)
export PATH=$TEMP_DIR:$PATH
export SPIN_CACHE_DIR=$TEMP_DIR/cache

cp "$DIR/../_build/default/executable/SpinApp.exe" "$TEMP_DIR/spin"
cp "$DIR/../_build/default/executable/spin.exe" "$TEMP_DIR/spin"
cd "$TEMP_DIR"

termtosvg -c "$DIR/demo.sh" "$DIR/../docs/demo.svg" -t window_frame -g 80x24 -m 100 -M 1000 -D 3000
termtosvg -c "$DIR/demo-emulate.sh" "$DIR/../docs/demo.svg" -t window_frame -g 80x24 -m 100 -M 1000 -D 3000
5 changes: 3 additions & 2 deletions scripts/release-make-skeleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const fs = require("fs");
const path = require("path");
const package = require("../package.json");

const filesToCopy = ["LICENSE", "README.md", path.join("docs", "demo.svg")];
const filesToCopy = ["LICENSE", "README.md"];

function exec(cmd) {
console.log(`exec: ${cmd}`);
Expand Down Expand Up @@ -56,8 +56,9 @@ const pkgJson = {
version: package.version,
description: package.description,
homepage: package.homepage,
repository: package.repository,
scripts: {
postinstall: "node ./postinstall.js"
postinstall: "node postinstall.js"
},
bin: {
spin: "spin.exe"
Expand Down

0 comments on commit e380951

Please sign in to comment.