Skip to content

Commit

Permalink
Merge pull request #55 from esy/prometheansacrifice/prepare-alpha-6-r…
Browse files Browse the repository at this point in the history
…elease

Prepare alpha 6 release
  • Loading branch information
ManasJayanth authored Sep 23, 2019
2 parents 74ac4fe + 2f32c8c commit 885901a
Show file tree
Hide file tree
Showing 43 changed files with 157 additions and 637 deletions.
6 changes: 5 additions & 1 deletion .ci/checksum.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ let algorithm = "sha1",
let cwd = process.cwd();
let pkg = require(path.join(cwd, "package.json")),
s = fs.ReadStream(
path.join(cwd, "_release", `${pkg.name}-${pkg.version}.tgz`)
path.join(
cwd,
"_release",
`${pkg.name.replace("@", "").replace("/", "-")}-${pkg.version}.tgz`
)
);

s.on("data", function(data) {
Expand Down
2 changes: 1 addition & 1 deletion .ci/cross-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ steps:
displayName: "npm pack"
workingDirectory: "_release"

- bash: "node .ci/checksum.js _release/pesy-0.5.0-alpha.2.tgz"
- bash: "node .ci/checksum.js _release/pesy-0.5.0-alpha.6.tgz"
displayName: "Calculating sha1"

- task: PublishBuildArtifacts@1
Expand Down
67 changes: 0 additions & 67 deletions assets/azure-pipeline-templates/pesy-azure-pipelines.yml

This file was deleted.

24 changes: 0 additions & 24 deletions assets/azure-pipeline-templates/pesy-esy-build-steps.template.yml

This file was deleted.

11 changes: 0 additions & 11 deletions assets/azure-pipeline-templates/pesy-publish-build-cache.yml

This file was deleted.

23 changes: 0 additions & 23 deletions assets/azure-pipeline-templates/pesy-restore-build-cache.yml

This file was deleted.

20 changes: 0 additions & 20 deletions assets/dune

This file was deleted.

1 change: 0 additions & 1 deletion assets/pesy-App.template.re

This file was deleted.

47 changes: 0 additions & 47 deletions assets/pesy-README.template.md

This file was deleted.

1 change: 0 additions & 1 deletion assets/pesy-RunTests.template.re

This file was deleted.

7 changes: 0 additions & 7 deletions assets/pesy-Test.template.re

This file was deleted.

7 changes: 0 additions & 7 deletions assets/pesy-TestFramework.template.re

This file was deleted.

1 change: 0 additions & 1 deletion assets/pesy-Util.template.re

This file was deleted.

10 changes: 0 additions & 10 deletions assets/pesy-gitignore.template

This file was deleted.

47 changes: 0 additions & 47 deletions assets/pesy-package.template.json

This file was deleted.

2 changes: 1 addition & 1 deletion bin/Pesy.re
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ let pesy_build = () =>
)
);

let version = "0.5.0-alpha.5";
let version = "0.5.0-alpha.6";

let cmd = () => {
open Cmdliner.Term;
Expand Down
3 changes: 2 additions & 1 deletion bin/dune
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
(executable (name Pesy) (public_name pesy)
(libraries pesy.lib pesy.utils cmdliner findlib))
(libraries pesy--esy-pesy.lib
pesy--esy-pesy.utils cmdliner findlib))
4 changes: 3 additions & 1 deletion e2e-tests/Runner.re
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ let run = (~env=?, c, args) => {

chdir(Path.(cwd / "npm-cli"));
print_endline("Installing pesy globally..");
run(makeCommand("npm"), [|"install"|]);
run(makeCommand("npm"), [|"run", "build"|]);
run(makeCommand("npm"), [|"run", "rollup"|]);
run(makeCommand("npm"), [|"pack"|]);
run(makeCommand("npm"), [|"i", "-g", "./pesy-0.5.0-alpha.5.tgz"|]);
run(makeCommand("npm"), [|"i", "-g", "./pesy-0.5.0-alpha.6.tgz"|]);
chdir(cwd);

let testBootstrapperExe =
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(executables
(names Runner TestBootstrapper TestPesyConfigure)
(public_names Runner.exe TestBootstrapper.exe TestPesyConfigure.exe)
(libraries unix pesy.lib))
(libraries unix pesy--esy-pesy.lib))

(data_only_dirs pesy-configure-test-projects)
Loading

0 comments on commit 885901a

Please sign in to comment.