Skip to content

Commit

Permalink
Bump to libpkgx 0.16
Browse files Browse the repository at this point in the history
* Will fix some errors due to invalid pantry parsing
* Removes platform specific moustaches devenvs
  * these weren't documented so even though this is strictly a breaking change I would be willing to risk the tea protocol slash consequences for it in a tea protocol future
  * there is potential utility in platform/arch being there so we should propose a proper addition
* Fix CD

Refs #882
Refs #865
  • Loading branch information
mxcl committed Jan 5, 2024
1 parent 4787466 commit 533350e
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ jobs:
with:
name: srcs

- run: tar xJf pkgx-${{ github.event.inputs.version }}.tar.xz --strip-components=1
- uses: pkgxdev/setup@v2

- run: pkgx +xz tar xJf pkgx-${{ github.event.inputs.version }}.tar.xz --strip-components=1

- uses: pkgxdev/dev@v0

Expand Down
6 changes: 3 additions & 3 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
},
"imports": {
"is-what": "https://deno.land/x/is_what@v4.1.15/src/index.ts",
"pkgx": "https://deno.land/x/libpkgx@v0.15.2/mod.ts",
"pkgx/": "https://deno.land/x/libpkgx@v0.15.2/src/",
"pkgx": "https://deno.land/x/libpkgx@v0.16.0/mod.ts",
"pkgx/": "https://deno.land/x/libpkgx@v0.16.0/src/",
"outdent": "https://deno.land/x/outdent@v0.8.0/mod.ts",
"cliffy/": "https://deno.land/x/cliffy@v1.0.0-rc.3/",
"deno/": "https://deno.land/std@0.204.0/"
"deno/": "https://deno.land/std@0.204.0/" // cliffy is on 196, try to consolidate to their choice
}
}
46 changes: 46 additions & 0 deletions deno.lock

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

2 changes: 1 addition & 1 deletion src/utils/devenv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export default async function(dir: Path) {
//TODO deprecate moustaches and instead use env vars

const foo = [
...moustaches.tokenize.host(),
//FIXME ...moustaches.tokenize.host(),
{ from: "home", to: Path.home().string }, //TODO deprecate and use $HOME once pantry is migrated
{ from: "srcroot", to: dir.string } //TODO deprecate and use $PWD once pantry is migrated
]
Expand Down

0 comments on commit 533350e

Please sign in to comment.