Skip to content

Commit

Permalink
feat: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
christyjacob4 committed Feb 24, 2022
1 parent 345e242 commit f17427d
Show file tree
Hide file tree
Showing 210 changed files with 8,903 additions and 4,987 deletions.
82 changes: 0 additions & 82 deletions .github/ISSUE_TEMPLATE/bug.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/documentation.yaml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/ISSUE_TEMPLATE/feature.yaml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build-for-linux-and-windows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Setup binfmt with QEMU
run: |
sudo apt install qemu binfmt-support qemu-user-static
update-binfmts --display
- name: Setup ldid
run: |
git clone https://github.com/tpoechtrager/ldid
cd ./ldid
sudo make
sudo make install
- name: Install dependenices and build for Linux and Windows
run: |
npm install
npm run linux-x64
npm run linux-arm64
npm run windows-x64
npm run windows-arm64
npm run mac-x64
npm run mac-arm64
- name: Publish NPM library
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: fnkr/github-action-ghr@v1
env:
GHR_PATH: build/
GHR_REPLACE: false
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
build/
.DS_Store
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion CHANGELOG.md

This file was deleted.

20 changes: 0 additions & 20 deletions Dockerfile

This file was deleted.

19 changes: 19 additions & 0 deletions Formula/appwrite.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
require "language/node"

class Appwrite < Formula
desc "CLI is a Node based command-line tool for Appwrite API"
homepage "https://appwrite.io"
license "BSD-3-Clause"
head "https://github.com/appwrite/sdk-for-cli.git", branch: "main"

depends_on "node"

def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
bin.install_symlink Dir["#{libexec}/bin/*"]
end

test do
system "true"
end
end
File renamed without changes.
Loading

0 comments on commit f17427d

Please sign in to comment.