Skip to content

Commit

Permalink
release v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tengu712 authored Nov 15, 2024
2 parents 9debafd + e0b3b69 commit 2dc77f4
Show file tree
Hide file tree
Showing 104 changed files with 2,467 additions and 4,266 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
with:
path: skdassoc.com
- uses: actions/setup-node@v4
- uses: oven-sh/setup-bun@v1
- run: bun test
- run: bun run build
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: pages
Expand Down
179 changes: 2 additions & 177 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,178 +1,3 @@
# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore
/target

# Logs

logs
_.log
npm-debug.log_
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Caches

.cache

# Diagnostic reports (https://nodejs.org/api/report.html)

report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json

# Runtime data

pids
_.pid
_.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover

lib-cov

# Coverage directory used by tools like istanbul

coverage
*.lcov

# nyc test coverage

.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)

.grunt

# Bower dependency directory (https://bower.io/)

bower_components

# node-waf configuration

.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)

build/Release

# Dependency directories

node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)

web_modules/

# TypeScript cache

*.tsbuildinfo

# Optional npm cache directory

.npm

# Optional eslint cache

.eslintcache

# Optional stylelint cache

.stylelintcache

# Microbundle cache

.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history

.node_repl_history

# Output of 'npm pack'

*.tgz

# Yarn Integrity file

.yarn-integrity

# dotenv environment variable files

.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)

.parcel-cache

# Next.js build output

.next
out

# Nuxt.js build / generate output

.nuxt
dist

# Gatsby files

# Comment in the public line in if your project uses Gatsby and not Next.js

# https://nextjs.org/blog/next-9-1#public-directory-support

# public

# vuepress build output

.vuepress/dist

# vuepress v2.x temp and cache directory

.temp

# Docusaurus cache and generated files

.docusaurus

# Serverless directories

.serverless/

# FuseBox cache

.fusebox/

# DynamoDB Local files

.dynamodb/

# TernJS port file

.tern-port

# Stores VSCode versions used for testing VSCode extensions

.vscode-test

# yarn v2

.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# IntelliJ based IDEs
.idea

# Finder (MacOS) folder config
.DS_Store

# Appendix
pages/index.js
*.wav
23 changes: 0 additions & 23 deletions .prettierrc

This file was deleted.

124 changes: 124 additions & 0 deletions Cargo.lock

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

16 changes: 16 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "iamc"
version = "0.1.0"
edition = "2021"

[dependencies]
wasm-bindgen = "0.2.95"

[[bin]]
name = "iamc"
path = "src/main.rs"

[lib]
name = "iamw"
path = "src/lib.rs"
crate-type = ["cdylib"]
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="./pages/iam-mml-logo.svg" alt="Logo" height=120></a>
<img src="./pages/img/iam-mml-logo.svg" alt="Logo" height=120></a>
</p>

<h1 align="center">IAM.mml</h1>
Expand All @@ -11,13 +11,20 @@

## What is this?

Online AM/FM Synthesizer for Generating and Playing WAV from MML.
AM/FM Synthesizer for Generating and Playing WAV from MML.

## Build

To build, follow these steps:
### CLI

1. Install [bun](https://bun.sh/)
2. Run `bun install`
3. Run `bun run build`
4. Host the pages directory
1. Install [Rust](https://www.rust-lang.org/).
2. Run `cargo build --release`.
3. Then `target/release/iamc` is generated.

### Web

1. Install [Rust](https://www.rust-lang.org/).
2. Install [npm](https://www.npmjs.com/) or something that's compatible with npm.
3. Run `npm run build`.
4. Then `pages/pkg/` is generated.
5. Host a local web server with `pages` as the root directory.
Binary file removed bun.lockb
Binary file not shown.
Loading

0 comments on commit 2dc77f4

Please sign in to comment.