🦕 Compile Deno executables and compress them for all platforms easily

Overview

Denoc

CodeQL Pylint Code Style PyPi Version Repo Size License: MIT Lines of Code

Compile Deno executables and compress them for all platforms easily.

Install

You can install denoc from PyPI like any other package:

pip install denoc

To get the last version:

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

If you use Linux, you may need to install this with sudo to be able to access the command throughout your system.

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

Usage Example

  • Build and Publish GitHub Action
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 }}

License

This project is licensed under the MIT License.

You might also like...
JD-backup is an advanced Python script, that will extract all links from a jDownloader 2 file list and export them to a text file.

JD-backup is an advanced Python script, that will extract all links from a jDownloader 2 file list and export them to a text file.

Cirq is a Python library for writing, manipulating, and optimizing quantum circuits and running them against quantum computers and simulators
Cirq is a Python library for writing, manipulating, and optimizing quantum circuits and running them against quantum computers and simulators

Cirq is a Python library for writing, manipulating, and optimizing quantum circuits and running them against quantum computers and simulators. Install

Oppia is an online learning tool that enables anyone to easily create and share interactive activities
Oppia is an online learning tool that enables anyone to easily create and share interactive activities

Oppia is an online learning tool that enables anyone to easily create and share interactive activities (called 'explorations'). These activities simulate a one-on-one conversation with a tutor, making it possible for students to learn by doing while getting feedback.

Easily map device and application controls to a midi controller

pymidicontroller Introduction Easily map device and application controls to a midi controller

✔️ Create to-do lists to easily manage your ideas and work.

Todo List + Add task + Remove task + List completed task + List not completed task + Set clock task time + View task statistics by date Changelog v 1.

Set up a sidechain for the XRPL quickly and easily

Sidechain Launch Kit Introduction This directory contains python scripts to tests and explore side chains. This document walks through the steps to se

You can easily send campaigns, e-marketing have actually account using cash will thank you for using our tools, and you can support our Vodafone Cash +201090788026

*** Welcome User Sorry I Mean Hello Brother ✓ Devolper and Design : Mokhtar Abdelkreem ========================================== You Can Follow Us O

Custom SLURM wrapper scripts to make finding job histories and system resource usage more easily accessible

SLURM Wrappers Executables job-history A simple wrapper for grabbing data for completed and running jobs. nodes-busy Developed for the HPC systems at

My sister is a GR of her class. She had to mark attendance of students from screenshots of teams meeting on an excel sheet. I resolved her problem by reading names from screenshots using PyTesseract and marking them present on the excel using Pandas in Python. It took me 1hr to write the code and it is saving half an hour everyday.
Comments
  • Get the issue fixed on denoland/deno

    Get the issue fixed on denoland/deno

    There are other features I want to add but is not even working 😞

    https://github.com/denoland/deno/issues/12330

    https://github.com/UltiRequiem/coreutils/issues/27

    opened by UltiRequiem 2
Releases(v1.2.0)
Owner
Eliaz Bobadilla
14 yo • Focuses on Golang & JavaScript. Makes Web apps, CLI tools, npm & deno packages. Linux Master.
Eliaz Bobadilla
⚙️ Compile, Read and update your .conf file in python

⚙️ Compile, Read and update your .conf file in python

Reece Harris 2 Aug 15, 2022
An Embedded Linux Project Build and Compile Tool -- An Bitbake UI Extension

Dianshao - An Embedded Linux Project Build and Compile Tool

null 0 Mar 27, 2022
Simple python code for compile brainfuck program.

py-brainf*ck Just a basic compiled that compiles your brainf*ck codes and gives you informations about memory, used cells, dumped version, logs etc...

null 4 Jun 13, 2021
Compile Binary Ninja's HLIL IR to LLVM, for purposes of compiling it back to a binary again.

Compiles BinaryNinja's HLIL to LLVM Approach Sweep binary for global variables, create them Sweep binary for (used?) external functions, declare those

Kyle Martin 31 Nov 10, 2022
Python library to natively send files to Trash (or Recycle bin) on all platforms.

Send2Trash -- Send files to trash on all platforms Send2Trash is a small package that sends files to the Trash (or Recycle Bin) natively and on all pl

Andrew Senetar 224 Jan 4, 2023
Compress .dds file in ggpk to boost fps. This is a python rewrite of PoeTexureResizer.

PoeBooster Compress .dds file in ggpk to boost fps. This is a python rewrite of PoeTexureResizer. Setup Install ImageMagick-7.1.0. Download and unzip

null 3 Sep 30, 2022
a bit of my project :) and I use some of them for my school lesson or study for an exam! but some of them just for myself.

Handy Project a bit of my project :) and I use some of them for my school lesson or study for an exam! but some of them just for myself. the handy pro

amirkasra esmaeilian 13 Jul 5, 2021
Donatus Prince 6 Feb 25, 2022
This is an API to get user details for competitive coding platforms - Codeforces, Codechef, SPOJ, Interviewbit. More Platform will be Added Soon.

Competitive-Programming-Score-API An API to get user details for competitive coding platforms - Codeforces, Codechef, SPOJ, Interviewbit Platforms Ava

Aaditya Prakash 3 Jan 17, 2022
Ahmed Hossam 12 Oct 17, 2022