summarylogtreecommitdiffstats
path: root/m5rcode.install
blob: 355aff40e4655a0d35f0200febb00aa401533ba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
post_install() {
    echo "m5rcode has been installed!"
    echo ""
    echo "Quick start:"
    echo "  m5rcode run hello.m5      # Run a script"
    echo "  m5rcode repl              # Start interactive REPL"
    echo "  m5rcode compile hello.m5  # Compile a script"
    echo "  m5rcode fmt hello.m5      # Format code"
    echo "  m5rcode ide               # Launch IDE"
    echo "  m5rcode help              # Show all commands"
    echo ""
    echo "Documentation: /usr/share/doc/m5rcode/"
    echo "Examples: /usr/share/doc/m5rcode/examples/"
}

post_upgrade() {
    echo "m5rcode has been upgraded to version $2"
}

pre_remove() {
    echo "Removing m5rcode..."
}