Skip to main content

Deprecated

This would make more sense if it was written using Deno, or a compiled language like Go or Rust.

Email me to eliaz.bobadilladev@gmail.com if you create a similar tool, so I will link it here.

If no one does, I will try to do it in my free time later, sponsor me 😩

Denoc

Compile Deno executables and compress them for all platforms easily 🚀

Install

You can install denoc from PyPI like any other package:

pip install denoc

From Github 👇

pip install git+https:/github.com/UltiRequiem/denoc

Usage

Basic usage

denoc compileMe.ts

This will make a directory (deno_builds) with executables for all the supported platforms.

Optional flags:

denoc --outputDir deno_dir_output --compress True file.ts
  • outputDir: The directory where the binaries will be, by default the directory is deno_build

  • compress: Compress the binaries directory

Build and Publish on GitHub Actions

name: Compile

on:
  push:
    tags:
      - "*"

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - uses: denoland/setup-deno@v1
        with:
          deno-version: v1.x

      - name: Install denoc
        run: pip install denoc

      - name: Build for all platforms
        run: denoc cli.ts

      - name: Release
        uses: softprops/action-gh-release@v1
        with:
          files: |
            deno_builds/x86_64-unknown-linux-gnu
            deno_builds/aarch64-apple-darwin 
            deno_builds/x86_64-apple-darwin
            deno_builds/x86_64-pc-windows-msvc.exe
          token: ${{ secrets.GITHUB_TOKEN }}

Example Repository 👉 ultirequiem/deno-clear

Authors

Eliaz Bobadilla (a.k.a UltiRequiem) - Creator and Maintainer 💪

See also the full list of contributors who participated in this project.

Versioning

We use SemVer for versioning. For the versions available, see the tags.

Licence

Licensed under the MIT License.

Metadata

Release files for denoc 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for denoc 1.2.0
File Size Uploaded Provenance
denoc-1.2.0.tar.gz 4.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for denoc 1.2.0
File Interpreter ABI Platform
denoc-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / denoc-1.2.0.tar.gz

Download URL denoc-1.2.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6d2c0411508138521faf195c710eb49b375436d425fd68c983287ce85b32654f
BLAKE2b-256 checksum
How to use checksums
27da2028541a5f314a52b619ea19dd80c9257fa1fe0de895b7411cafa50ada98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.10 Linux/4.4.0-19041-Microsoft

Release files / denoc-1.2.0-py3-none-any.whl

Download URL denoc-1.2.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc37fa7ad72d25ddaac030fa1525152fd7ca643f922489d2a8f5c448f5716544
BLAKE2b-256 checksum
How to use checksums
a2919adf0d501fbcd84330292c21ab98bfbc4fe0a898b36daf80af046283b8b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.10 Linux/4.4.0-19041-Microsoft

Security for denoc 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page