aboutsummaryrefslogblamecommitdiffstats
path: root/snap/snapcraft.yaml
blob: ea0f2ef51c32ab29116f6937bb48f361671913e3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
          

                                                                                











                                                                              
             











                    
                                                                  
                              


                                                       
                                       
        
name: solc
version: develop
version-script: git describe --exact-match --tags 2> /dev/null || echo "develop"
summary: The Solidity Contract-Oriented Programming Language
description: |
  Solidity is a contract-oriented, high-level language whose syntax is similar
  to that of JavaScript and it is designed to target the Ethereum Virtual
  Machine (EVM).

  Solidity is statically typed, supports inheritance, libraries and complex
  user-defined types among other features.

  It is possible to create contracts for voting, crowdfunding, blind auctions,
  multi-signature wallets and more.

grade: stable
confinement: strict

apps:
  solc:
    command: solc
    plugs: [home]

parts:
  solidity:
    source: .
    source-type: git
    plugin: cmake
    build-packages: [build-essential, libboost-all-dev, libz3-dev]
    stage-packages: [libicu55]
    prepare: |
      if git describe --exact-match --tags 2> /dev/null
      then
        echo -n > ../src/prerelease.txt
      fi