1. Mar 15, 2022
    • Michael Müller's avatar
      Include `ink_linting` folder in releases + Test publish/install in CI (#463) · 63b870de
      Michael Müller authored
      * Include `ink_linting` folder in releases
      
      * Add CI stage to test if publishing/installing works
      
      * Revert me: Skip most CI stages
      
      * Remove unneeded `--registry`
      
      * Revert "Revert me: Skip most CI stages"
      
      This reverts commit da134108.
      
      * Make CI code clearer
      
      * Remove superfluous newline
      
      * Improve comments
      
      * Refactor `build.rs`
      
      * Add comment
      
      * Add missing argument
      63b870de
  2. Mar 14, 2022
    • Michael Müller's avatar
      Fix issues with publishing (#462) · eec7c007
      Michael Müller authored
      * Include `.scale` files
      
      At the moment it's only `src/cmd/extrinsics/runtime_api/contracts_runtime.scale`.
      
      * Fix `cargo publish`
      
      * Add CI stage for `cargo package`
      
      * Remove unused import
      
      * Revert "Add CI stage for `cargo package`"
      
      This reverts commit f1f5cb2b.
      eec7c007
  3. Feb 25, 2022
  4. Feb 23, 2022
    • Michael Müller's avatar
      Add ink! linting MVP stage (#431) · 836acbff
      Michael Müller authored
      
      
      * Add ink! linting MVP stage
      
      * CI: cache cargo installations; update versions
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarSergejs Kostjucenko <[email protected]>
      
      * Update changelog
      
      * Check if `dylint` requirements are installed
      
      * Make `clippy` happy
      
      * Make tests happy
      
      * Make `LICENSE` symlink
      
      * Make error handling and panic's consistent
      
      * Improve code structure
      
      * Remove unneeded `--workspace`
      
      * Fix `mapping-two-constructor` test file
      
      * Simplify `Option<Vec<_>>` to `Vec`
      
      * Generalize unsetting of env variables in `invoke_cargo`
      
      * Move special case of `dylint` verbosity to call site
      
      * Keep calm and return an `Err`
      
      * Move checking for `dylint-link` to `build.rs`
      
      * Add `ink_linting/Cargo.lock`
      
      * Move `bool_to_exit_code` inline
      
      * Add test for non-fully-qualified path call of `initialize_contract`
      
      * Fix panic when no manifest path was supplied
      
      * Improve structure of `build.rs`
      
      * Make linting error message non-blaming
      
      * Remove incorrect note on not detecting indirections
      
      * Make `clippy` happy
      
      * Impprove text
      
      * Build `ink_linting` with `--locked`
      
      * Fix path separators for Windows CI
      
      * Revert "Fix path separators for Windows CI"
      
      This reverts commit b5998313.
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Revert me: Debug failing Windows CI
      
      * Use `which` for detecting `dylint-link` installation
      
      * Remove `DYLINT_DRIVER_PATH`
      
      * Add `--lib`
      
      * Revert "Remove `DYLINT_DRIVER_PATH`"
      
      This reverts commit d0d209fe
      
      .
      
      * Use temporary `DYLINT_DRIVER_PATH` path during tests
      
      * Give `template` variable a speaking name
      
      Co-authored-by: CI system <>
      Co-authored-by: default avatarSergejs Kostjucenko <[email protected]>
      836acbff
  5. Feb 18, 2022
  6. Apr 01, 2021
    • Aten's avatar
      Add git commit hash in cargo-contract version (#189) · cacf2d54
      Aten authored
      * add git commit hash in cargo-contract version
      
      * remove todo and add version for `cargo contract` command
      
      * It seems that I misunderstand the requirements. recover the old modify
      
      * remove `pub`
      cacf2d54
  7. Feb 04, 2021
    • Michael Müller's avatar
      Use either `binaryen-rs` dep or `wasm-opt` binary (#168) · 0e80763c
      Michael Müller authored
      * Fix `#[warn(clippy::ptr_arg)]`
      
      * Use either `binaryen-rs` dep or `wasm-opt` binary
      
      * Implement reviewers suggestions
      
      * Rename `optimization_level` to `optimization_passes`
      
      * Revert "Rename `optimization_level` to `optimization_passes`"
      
      This reverts commit 1fd35bcd.
      
      * Update installation instructions
      
      * Update readme
      
      * Add package manager links
      0e80763c
  8. Jan 18, 2021
  9. Jan 07, 2021
  10. Oct 13, 2020
    • Andrew Jones's avatar
      Release v0.7.0 (#82) · ec3394a0
      Andrew Jones authored
      * Use ink 3.0.0-rc1
      
      * Fix template ink deps
      
      * Fix deprecation warnings
      
      * Update CHANGELOG.md
      
      * Update README
      
      * Fmt
      
      * Add README to metadata crate to allow publishing
      
      * Add templates dir to include for publishing
      
      * Update Cargo.lock
      
      * Just make it 0.7.0 release
      v0.7.0
      ec3394a0
  11. Jul 09, 2020
  12. Jun 24, 2020
    • Andrew Jones's avatar
      Autogenerate abi/metadata package (#58) · 80716750
      Andrew Jones authored
      * Use into for constructing toml values
      
      * Promote workspace mod to directory
      
      * Fix import warnings
      
      * Update license headers
      
      * Remove abi package from template, generate it instead
      
      * Extract contract name and generate files
      
      * Fix some errors
      
      * Insert ink_lang dependency
      
      * Fmt
      
      * ink! v2 compatibility
      
      * Use new generate_metadata extern
      
      * Warn the user if they have legacy abi_gen artifacts
      
      * Move existing abi package check to the right place
      
      * Remove v2 backwards compat, use ink! master in template
      
      * Remove type_metadata dependency
      
      * Fix up template for working with ink! master
      
      * Update template lib.rs for ink! 3
      
      * Fix template
      
      * Fix template constructors
      
      * Try again with template
      
      * Move template files to templates dir
      
      * Rename abi to metadata
      
      * Rename abi constant and update warning
      
      * More renames from abi to metadata
      
      * Document generate_package function
      
      * Fmt
      
      * More abi to metadata renames
      
      * Update template parity-scale-codec
      
      * Bump version
      ink-ci
      80716750
  13. Jun 19, 2020
  14. Mar 26, 2020
    • Andrew Jones's avatar
      Release v0.6.0 (#50) · 25b7234b
      Andrew Jones authored
      * Update subxt and bump version
      
      * Update CHANGELOG
      
      * Update README
      
      * Fail build.rs when error, add diagnostics
      
      * Rename template Cargo.toml files so they are not excluded from the package
      
      It appears any dir with a Cargo.toml (not included in the workspace) is excluded from the package.
      
      * Reorder env vars for clarity
      
      * Add mention of crates.io release in CHANGELOG
      
      * Valid category slugs
      v0.6.0
      25b7234b
  15. Nov 26, 2019
  16. Nov 25, 2019
    • Hero Bird's avatar
      Fix CI (finally) (#265) · 708b3dc8
      Hero Bird authored and Andrew Jones's avatar Andrew Jones committed
      
      
      * Update some deps
      
      Signed-off-by: default avatarkoushiro <[email protected]>
      
      * Format
      
      Signed-off-by: default avatarkoushiro <[email protected]>
      
      * Fix clippy-wasm
      
      Signed-off-by: default avatarkoushiro <[email protected]>
      
      * [examples] fix minor formatting issues
      
      * [examples] fix some clippy warnings
      
      * [lang2/macro] silence warning for ink! constructors named "new"
      
      * [*] replace documentation link in Cargo.toml to ink! tutorial
      
      * [abi] specify allow(clippy::trivially_copy_pass_by_ref) in a smaller scope
      
      * [abi] specify allow(clippy::new_ret_no_self) in smaller scope
      
      * [ci] adjust gitlab-ci.yml
      
      * [ci] update Travis CI to just do coverage reporting
      708b3dc8
  17. Jul 29, 2019
    • Hero Bird's avatar
      Make CI happy again (#149) · fb838438
      Hero Bird authored
      * Adjust rustfmt.toml to newest rustfmt 1.3.3
      
      * fix some minor warnings
      
      * apply rustfmt
      
      * fix formatting (make CI happy)
      fb838438
  18. May 17, 2019
    • Andrew Jones's avatar
      [cli] contract new template (#90) · 1d32ca78
      Andrew Jones authored
      * WIP: add template
      
      * Zip build file from temp dir
      
      * Unzip in new command
      
      * Unzip files to target dir
      
      * Fix warnings
      
      * Remove unwraps from unzipping
      
      * Refactor build.rs
      
      * rustfmt
      
      * Remove printlns
      
      * Use PathBuf in build.rs
      
      * Replace variables in template files
      
      * Diable zip default features
      
      * rustfmt
      1d32ca78