-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
3,759 additions
and
1,819 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
npm-install: | ||
npm install | ||
|
||
build: npm-install | ||
elm make src/VerifyExamples.elm --output bin/elm.js --optimize | ||
|
||
verify-own-docs: build | ||
./bin/cli.js | ||
|
||
test: verify-own-docs | ||
./run-tests.sh | ||
run-examples: build | ||
cd example && ../bin/cli.js | ||
|
||
watch: | ||
watchexec \ | ||
--clear \ | ||
--restart \ | ||
--watch src \ | ||
--watch bin \ | ||
--watch example/src \ | ||
--watch elm.json \ | ||
"make test" | ||
|
||
|
||
release-major: test | ||
npx xyz --repo git@github.com:stoeffel/elm-verify-examples.git --increment major | ||
|
||
release-minor: test | ||
npx xyz --repo git@github.com:stoeffel/elm-verify-examples.git --increment minor | ||
|
||
release-patch: test | ||
npx xyz --repo git@github.com:stoeffel/elm-verify-examples.git --increment patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
inputs = { | ||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11"; | ||
flake-utils.url = "github:numtide/flake-utils"; | ||
}; | ||
|
||
outputs = { self, nixpkgs, flake-utils, ... }: | ||
flake-utils.lib.eachDefaultSystem (system: | ||
let pkgs = import nixpkgs { inherit system; }; | ||
in { | ||
devShells = { | ||
default = pkgs.mkShell { | ||
buildInputs = [ | ||
pkgs.elmPackages.elm | ||
pkgs.gnumake | ||
pkgs.nodejs-19_x | ||
pkgs.watchexec | ||
]; | ||
}; | ||
}; | ||
}); | ||
} |
Oops, something went wrong.